summaryrefslogtreecommitdiff
path: root/test/api
Commit message (Collapse)AuthorAgeFilesLines
* tests: use PWD for dbus testingZdenek Kabelac2023-02-131-0/+2
| | | | | lvmdbusd ATM is leaking too many log files. At least try to keep them removed with test failure.
* shellcheck: updatesZdenek Kabelac2021-04-231-1/+1
| | | | Ehance some shellcheck reported issues.
* tests: skip more tests for lvmpolld passZdenek Kabelac2021-03-261-0/+1
| | | | These test do not test polling, so skip them for lvmpolld pass.
* tests: add commented exampleZdenek Kabelac2021-03-261-0/+4
| | | | How to run individual test.
* tests: remove local changesZdenek Kabelac2021-03-221-12/+1
| | | | | | Use aux for preparing profile. Avoid playing with LVM_BINARY localy - we already preset this variable in lib/utils.
* tests: disable dbustest with valgrind testingZdenek Kabelac2020-09-101-0/+3
|
* tests: Some lvmdbus tests require larger PVsMarian Csontos2019-12-181-1/+3
|
* Remove python bindings for liblvm2appDavid Teigland2018-06-089-1352/+0
|
* liblvm: remove lvmapiJoe Thornber2018-06-088-1632/+0
| | | | This has been deprecated for a while.
* build: libbase.aJoe Thornber2018-06-041-2/+1
|
* Merge branch 'master' into 2018-05-11-fork-libdmJoe Thornber2018-06-014-10/+19
|\
| * tests: use 4K extent sizeZdenek Kabelac2018-05-211-1/+1
| | | | | | | | To work with for 4k backend devices.
| * python: use // for integer divisionZdenek Kabelac2018-05-181-5/+5
| |
| * tests: pick either python2 or python3 .soZdenek Kabelac2018-05-181-4/+8
| | | | | | | | Use matching PYTHON library implementation.
| * tests; make sure python_lvm_unit.py is executableZdenek Kabelac2018-05-181-0/+5
| |
* | Merge branch 'master' into 2018-05-11-fork-libdmJoe Thornber2018-05-162-2/+4
|\ \ | |/
| * tests: better check for python libpathZdenek Kabelac2018-05-151-1/+3
| | | | | | | | | | | | Find also python3 lvm.so name. And ATM just run a single test, otherwise we get too many cores.
| * tests: move into generated fileZdenek Kabelac2018-05-151-1/+1
| | | | | | | | | | Since python path is evaluated and we cannot use anymore /usr/bin/env switch to generated file.
* | device-mapper: Fork libdm internally.Joe Thornber2018-05-161-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | The device-mapper directory now holds a copy of libdm source. At the moment this code is identical to libdm. Over time code will migrate out to appropriate places (see doc/refactoring.txt). The libdm directory still exists, and contains the source for the libdevmapper shared library, which we will continue to ship (though not neccessarily update). All code using libdm should now use the version in device-mapper.
* | build: Don't generate symlinks in include/ dirJoe Thornber2018-05-147-7/+7
|/ | | | | | | As we start refactoring the code to break dependencies (see doc/refactoring.txt), I want us to use full paths in the includes (eg, #include "base/data-struct/list.h"). This makes it more obvious when we're breaking abstraction boundaries, eg, including a file in metadata/ from base/
* test: D-Bus test_nesting requires filterMarian Csontos2017-11-091-0/+3
|
* test: Rename test nothing methodsMarian Csontos2017-11-091-2/+2
| | | | | These two methods might be useful for debugging, but are not testing anything.
* tests: have some space for 2nd mdaZdenek Kabelac2017-11-081-1/+1
| | | | pvcreate with 2MDAs needs some extra space.
* tests: update makefilesZdenek Kabelac2017-08-011-2/+2
|
* tests: update makefileZdenek Kabelac2017-08-011-11/+4
|
* tests: properly check variables were definedZdenek Kabelac2017-07-121-1/+1
| | | | When test suite is installed some vars are not defined.
* tests: use properly quoted device listZdenek Kabelac2017-07-121-1/+2
|
* tests: bounds still more varsZdenek Kabelac2017-07-121-1/+1
|
* tests: api updatesZdenek Kabelac2017-06-293-7/+11
|
* cmdline: fix missing NULL at end of array of argsZdenek Kabelac2017-06-261-0/+3
| | | | | | | | | | | lvm_run needs to place NULL as the last element into argv[]. Otherwise we get: Conditional jump or move depends on uninitialised value(s) _command_required_pos_matches (lvmcmdline.c:1443) _find_command (lvmcmdline.c:1610) lvm_run_command (lvmcmdline.c:2770) lvm2_run (lvmcmdlib.c:91)
* tests: test should clean devices it has createdZdenek Kabelac2016-12-111-0/+2
| | | | | | | To be able to detect lvm2 command is not leaking some 'unexpected' device - remove all devices before test exits by its own command so test teardown now can check what was 'left' unexpectedly.
* tests: ensure there is dbus config fileZdenek Kabelac2016-11-261-4/+8
| | | | | Copy lvmdbusd.profile to lib as installed place. Use TESTOLDPWD and avoid add new 'same' variable test_data_dir.
* lvmdbusd: Disable lvm abort on too much log outputTony Asleson2016-10-111-4/+0
| | | | | | | | | The commit: https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=34c55d98eefd88f85476c0f62f0649c706bde6f0 introduced an abort if lvm logs too much. In the case of utilizing lvm shell this is a pretty normal occurance, so we will disable when we use lvm shell.
* lvmdbustest.py: Add profile and path for lvm binaryTony Asleson2016-10-101-0/+14
|
* tests: reduce amount of pvcreatesZdenek Kabelac2016-07-111-18/+3
| | | | | | | | Reduce number of evualted pvcreate commands. Since 0 is default value used to fill missing params, and 0 is also 1st. value in array, it's being tested. Drop unused data_alignment_offset.
* test: Move bus configuration to prepare functionMarian Csontos2016-03-231-9/+0
|
* test: Fix lvmdbusd tests to work with installed testsuiteMarian Csontos2016-03-231-4/+1
|
* test: Turn on dbus testMarian Csontos2016-03-211-1/+1
| | | | (cherry picked from commit f1ea96c6c1dc6414169bda1a18cf14cd9ebb1493)
* test: Remove work-in-progress code from dbustestMarian Csontos2016-03-091-35/+0
| | | | (cherry picked from commit 3189d4d50492f5b78cf3920a7f499fd1020983c6)
* test: skip unrelated tests while testing lvmpolldOndrej Kozina2016-03-091-0/+1
|
* test: Add prepare_lvmdbusdMarian Csontos2016-03-091-1/+11
| | | | | - Check for running lvmdbusd at start - Add teardown for lvmdbusd
* dbustest.sh: Get dbus test to work on buildbotMarian Csontos2016-03-041-16/+14
| | | | | | | | | | | | | | | - stdout/stderr for test output - debug.log* for daemon output - use install instead of cp for DBus config - use system bus - DBus reloads on new file. Better having it created with correct permissions. Notes: - Squashed commits from mcsontos development branch - Still disabled at this time Signed-off-by: Tony Asleson <tasleson@redhat.com>
* tests: add SKIP_WITH_LVMLOCKDDavid Teigland2016-02-232-0/+3
| | | | to all tests that don't already used vgcreate $SHARED
* lvmdbusd: Initial unit test driver scriptTony Asleson2016-02-221-0/+60
| | | | | | It's disabled until we can fix it up. Signed-off-by: Tony Asleson <tasleson@redhat.com>
* spec: Fix 04ab1fa572bb: Remove left-oversMarian Csontos2016-02-221-4/+12
|
* doc: change fsf addressZdenek Kabelac2016-01-2116-16/+16
| | | | | Hmm rpmlint suggest fsf is using a different address these days, so lets keep it up-to-date
* test: Run pytest with installed libsMarian Csontos2015-11-021-5/+11
|
* tests: use more SKIPZdenek Kabelac2015-10-276-5/+15
| | | | Speed-up check_lvmpolld.
* tests: skip when snapshot does not workZdenek Kabelac2015-06-231-0/+2
| | | | | Some older kernel (i.e. 3.11.10 on fc20) do not work properly. Skip the test if snapshot does not meet 50%.
* tests: thin_restore not neededZdenek Kabelac2015-05-181-0/+2
| | | | Few more test which could live without thin_restore.