aboutsummaryrefslogtreecommitdiff
path: root/test/shell
AgeCommit message (Collapse)Author
2015-09-17libdm: report: make it possible to use blank value as selection for string ↵Peter Rajnoha
list report field $ lvs -o name,tags vg LV LV Tags lvol0 lvol1 mytag Before this patch: $ lvs -o name,tags vg -S 'tags=""' Failed to parse string list value for selection field lv_tags. Selection syntax error at 'tags=""'. Use 'help' for selection to get more help. (and the same for -S 'tags={}' and -S 'tags=[]') With this patch applied: $ lvs -o name,tags vg -S 'tags=""' LV LV Tags lvol0 (and the same for -S 'tags={}' and -S 'tags=[]')
2015-09-14tests: early check for snapshot-mergeZdenek Kabelac
2015-09-14tests: lvextend of full thin poolZdenek Kabelac
2015-09-11tests: wait for sync before deactivationZdenek Kabelac
On slower machine/disk, sync may block udev from reading and may prevent deactivation.
2015-09-11tests: new thin testsZdenek Kabelac
2015-09-10tests: check cache stripe and raid behaviorZdenek Kabelac
Somehow raid tests landed in plain cache - separte them out so they properly check for have_raid. Check we do not support strip option with cache-pool creation.
2015-09-10cache: warn if caching causes troublesZdenek Kabelac
Certain stacks of cached LVs may have unexpected consequences. So add a warning function called when LV is cached to detect such caces and WARN user about them - the best we could do ATM.
2015-09-08tests: ensure dd flushed all data before exitZdenek Kabelac
2015-09-08tests: better check for compiled versionZdenek Kabelac
Use install /lib files to check for expected version.
2015-09-03tests: update thin testZdenek Kabelac
Use slightly better values
2015-09-03tests: use conv=fdatasyncZdenek Kabelac
Should be slightly better to flushed before dd exits instead of using direct IO.
2015-08-26tests: update cache testsZdenek Kabelac
2015-08-21tests: fix check for lvmlockd testDavid Teigland
2015-08-21tests: add test for lvmlockd lock_argsDavid Teigland
2015-08-21tests: create/remove improvements for lvmlockd testingDavid Teigland
2015-08-21test: allow tests with lvmlockdDavid Teigland
2015-08-21tests: check cachepolicy with lvconvertZdenek Kabelac
2015-08-18tests: fix lockd options in sanlock-prepareDavid Teigland
2015-08-17tests: update thin testZdenek Kabelac
Since we now let pass activation of thin-pool 'off-by-one' for plain 'vgchange -ay' update the test to use higher TID.
2015-08-17tests: Revert update for new thin pool messagingZdenek Kabelac
This reverts commit 3dbb9a57ca684271dbbc26300aa2e35da9608aa3. Original code is back as the code restored previous TID handling.
2015-08-12tests: keep testing mq policyZdenek Kabelac
Tests were written for 'mq' policy, so disable smq.
2015-07-17test: Ignore known concurrent VG clvmd failure.Alasdair G Kergon
Don't abort test when clvmd processes two VGs concurrently. CLVMD: ioctl/libdm-iface.c:1940 Internal error: Performing unsafe table load while 3 device(s) are known to be suspended: (253:19)
2015-07-15thin: fix warning for overprovisioningZdenek Kabelac
When lvm.conf is properly configure for auto resize of overprovisioned thin-pool volume, avoid showing any warning (2.02.124).
2015-07-07tests: use old snapshot for huge volumesZdenek Kabelac
Avoid stacking thins over thins.
2015-07-06clean-up: typos s/bellow/below/Jonathan Brassow
2015-07-03tests: update for new thin pool messagingZdenek Kabelac
2015-07-03thin: check for overprovisioningZdenek Kabelac
2015-07-02Add lvmlockdDavid Teigland
2015-07-02tests: add test for 454782f (select with synonyms for string field types)Peter Rajnoha
2015-06-26tests: tests needs pre 1.13 thin-pool extorgZdenek Kabelac
This test is testing older style, so disable feature when present.
2015-06-26tests: deactivate before removeZdenek Kabelac
Testing if this avoids udev race with removal of snapshot on some test machines. See: https://bugzilla.redhat.com/show_bug.cgi?id=1217819
2015-06-24tests: workaround udev problemZdenek Kabelac
If udev has not removed 'dir' entry - just issue TEST WARNING, clear dir, but do not fail whole rest of test.
2015-06-23tests: use vgscan after enable_devZdenek Kabelac
Since our test environment runs also in non-real-udev world, it's using /etc/.cache file with scanned files. So in this case it is mandatory the user runs 'vgscan' after a device reappears in the system. This 'first' lvm2 command then fixes metadata (just like vgs did).
2015-06-23tests: newer version needed for ext-origZdenek Kabelac
2015-06-19tests: external origin updatesZdenek Kabelac
Update test for recent updates to support unalligned sizes and extension of reduced volume.
2015-06-18thin: support unaligned size of external origin and thin poolZdenek Kabelac
With thin-pool kernel target module 1.13 it's now support usage of external origin with sizes which are not 'alligned' with chunk size of thin-pool. Enable lvm2 support for this and also fix reporting of data_percent usage for case sizes are not alligned.
2015-06-10test: Ensure that outdated PVs are wiped just once.Petr Rockai
2015-05-25tests: add test for pvscan --cache --backgroundOndrej Kozina
regression test for a segfault in pvscan --cache --background bug fixed by commit: f8bf6410954fcf82bf28852e0dba015c6b7f19dc
2015-05-19tests: add test for duplicate pvsDavid Teigland
2015-05-18tests: fix calcucaltionZdenek Kabelac
Code works properly.
2015-05-18tests: thin_restore not neededZdenek Kabelac
Few more test which could live without thin_restore.
2015-05-17tests: no warn if test does not need thin_repairZdenek Kabelac
Set LVM_TEST_THIN_REPAIR_CMD to /bin/false for test which doesn't need it. This way - even if on the system there is no such tool present, test will not result with warning about missing tool. Also remove from Makefile settings of TEST vars which are set in through /lib/paths - this also allows to override them in test.
2015-05-14tests: respect @CONFDIR@/machine-idZdenek Kabelac
Obtain location of machine-id. NOTE: lvmconfig cannot dump 'life' value - should be fixed.
2015-05-14tests: do not use |&Zdenek Kabelac
Bash 3.2 doesn't understand this syntax (i.e. RHEL5). And it's even better - reports syntax error and return success.
2015-05-12tests: remove forgotten -vvvv optionOndrej Kozina
2015-05-09tests: missed conversionZdenek Kabelac
Assuming it should test same number as other functions.
2015-05-09lvmpolld: Add standalone polldaemon.Ondrej Kozina
See doc/lvmpolld_overview.txt
2015-05-08tests: missing vgZdenek Kabelac
2015-05-08format_text: properly validate PV size for restoreZdenek Kabelac
Use 64bit arithmentic for PV size calculation (Coverity). Also remove sector shift for compared PV size, since all values are already held in sectors. This fixes validatio of PV size when restoring PV from vg metadata backup file.
2015-05-06tests: do not restart lvmetad when not necessaryOndrej Kozina
overlooked pvmove-restart test during cleanup