Zdenek Kabelac
d303d9973f
tests: BACKING_DEV
...
Reset BACKING_DEV when it's same as LOOP.
Reset only 64K - so just eats a bit less space from underlaying loop
devices...
2015-02-12 15:40:52 +01:00
Zdenek Kabelac
4b7097b96c
tests: ensure array is synchronized
...
Before continue of repair test, ensure mirror is in sync
2015-02-12 15:38:51 +01:00
Zdenek Kabelac
739b751046
tests: don't crash if checked string is shorter
...
Not really sure what is this testing - just avoid coredump if
the test cannot happen since the index would too high.
2015-02-12 15:38:51 +01:00
Zdenek Kabelac
65d95caad5
tests: respect LVM_TEST_DIR
...
Check for empty LVM_TEST_DIR
(regression from 48275c7836
)
2015-02-12 15:38:50 +01:00
Marian Csontos
0e9f3dba75
test: Fix missing return in new test harness.
2015-02-12 13:28:26 +01:00
Peter Rajnoha
54c2e9859f
tests: add select-tools.sh to test selection support in toollib
...
Tests for selection within non-reporting tools while using process_each_* fns.
2015-02-11 18:39:47 +01:00
Peter Rajnoha
599cb41f99
tests: rename report-select.sh to select-report.sh
...
Let's name all selection-related tests with the "select-" prefix for
better sorting.
2015-02-11 16:17:05 +01:00
Marian Csontos
a8b45b7a4c
test: Fix harness not building on RHEL5
2015-02-10 17:02:01 +01:00
Petr Rockai
2ee3bcb877
test: Fix a typo in shell/pvmove-restart.sh.
2015-02-10 12:42:05 +01:00
Petr Rockai
4065741a67
configure: Fix a warning about test/Makefile.in.
2015-02-05 16:30:50 +01:00
Petr Rockai
4686b8cea5
test: Fix a segfault in the test runner.
2015-02-05 13:51:06 +01:00
Petr Rockai
45e2aee8f9
test: It is not an error for a test daemon to exit before teardown.
2015-02-05 13:51:06 +01:00
Petr Rockai
78ba413ed1
test: Remove spurious set -x in lvm-wrapper.
2015-02-05 13:51:06 +01:00
Petr Rockai
d8983d4bd4
test: Properly detect warnings from testcases.
2015-02-05 13:51:06 +01:00
Petr Rockai
c96e42006d
test: Only force an IO sync when the testcase has finished.
2015-02-05 13:51:06 +01:00
Petr Rockai
72ee3f920b
test: Allow a longer timeout for lvextend-snapshot-dmeventd.
2015-02-05 13:51:06 +01:00
Petr Rockai
839ea48aa9
test: Make dmsetup remove more robust in pvmove-restart.
2015-02-05 13:51:06 +01:00
Petr Rockai
210a66fbf8
test: Make killing local (test) daemons more robust.
2015-02-05 13:51:06 +01:00
Petr Rockai
17575403d4
test: Disable lvmetad debug log on another bunch of tests.
2015-02-05 13:51:06 +01:00
Petr Rockai
1f727f3f3d
test: Call $VALGRIND directly in lvm-wrapper.
2015-02-05 13:51:06 +01:00
Petr Rockai
5d833fd458
test: Add support for running LVM commands in tests through strace.
2015-02-05 13:50:34 +01:00
Petr Rockai
a6d006d9db
test: Make lvm-wrapper available in the installed testsuite, too.
2015-02-05 13:50:33 +01:00
Petr Rockai
c2b7642d4d
test: Fix prepare_scsi_debug_dev.
2015-02-05 13:47:21 +01:00
Petr Rockai
580370bea3
test: Avoid passing -c to flock.
2015-02-05 13:47:21 +01:00
Petr Rockai
7a0aa25c28
test: Re-try with loopback if a backing device is too small.
2015-02-05 13:47:21 +01:00
Petr Rockai
bd0806e1f5
test: Fix failures due to undefined abs_top_builddir.
2015-02-05 13:47:21 +01:00
Petr Rockai
c6f9c46223
test: Avoid running 'dmsetup remove' with no devices.
2015-02-05 13:47:21 +01:00
Petr Rockai
ad0267b2ad
test: Fix 100%FREE RAID tests since test device sizes changed slightly.
2015-02-05 13:47:20 +01:00
Petr Rockai
c82c69bb56
test: Update brick-shelltest (configurable timeout, better banner, exit code).
2015-02-05 13:47:20 +01:00
Petr Rockai
8b80e949ea
test: Do not rely on dev/mapper/* nodes in pvmove-restart.sh.
2015-02-05 13:47:20 +01:00
Petr Rockai
d04c7ca0b6
test: Fix implementation of check targets with new flavour system.
2015-02-05 13:47:20 +01:00
Petr Rockai
7ed8fc8f7d
test: Update brick-shelltest.h.
2015-02-05 13:47:20 +01:00
Petr Rockai
19bb62e2ec
test: Update brick-shelltest, adding timestamps to logs.
2015-02-05 13:47:20 +01:00
Petr Rockai
8646b50aa9
test: Package up the test runner in a reusable C++ "brick".
2015-02-05 13:47:19 +01:00
Petr Rockai
eec99ffa8c
test: Implement --fatal-timeouts to allow a timely VM restart.
2015-02-05 13:47:19 +01:00
Petr Rockai
34e818042e
test: Make the runner's heartbeat more reliable.
2015-02-05 13:47:19 +01:00
Petr Rockai
f0d314bd6d
test: Disable lvmetad logging in lvconvert-{mirror,raid}*.
2015-02-05 13:47:19 +01:00
Petr Rockai
d488f03229
test: Implement --only option to runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
a8eb702093
test: Fix loading of an append-mode journal.
2015-02-05 13:47:18 +01:00
Petr Rockai
d74c147223
test: Add a missing copyright/licence notice to journal.h.
2015-02-05 13:47:18 +01:00
Petr Rockai
10c992e861
test: Fix a precedence bug in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
b3caba849d
test: Use append for journal maintenance instead of rename.
2015-02-05 13:47:18 +01:00
Petr Rockai
23b5a006d4
test: Implement specialised --batch output style w/ rusage stats.
2015-02-05 13:47:18 +01:00
Petr Rockai
a665b90623
test: Add time/rusage formatting to the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
3fbea6029d
test: Print a heartbeat file (every 20s) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
e8cc9254e0
test: Avoid sleeps in the runner monitoring loop.
2015-02-05 13:47:18 +01:00
Petr Rockai
48275c7836
test: Run in /tmp if LVM_TEST_DIR is unset.
2015-02-05 13:47:18 +01:00
Petr Rockai
246fecee27
test: Rename the --quiet option to --batch.
2015-02-05 13:47:18 +01:00
Petr Rockai
feb2c7bc47
test: Targets and sources can't have the same name if builddir == srcdir.
2015-02-05 13:47:18 +01:00
Petr Rockai
2bc76bcdab
test: Run the testcases chdir'd into --testdir.
2015-02-05 13:47:18 +01:00