Tony Asleson
2b557b595a
python: Make lv addTag/removeTag persistent
...
Added lvm_vg_write in the addTag/removeTag paths to make the
changes persist. Added unit test to ensure functionality.
https://bugzilla.redhat.com/show_bug.cgi?id=1210020
Signed-off-by: Tony Asleson <tasleson@redhat.com>
2015-04-10 10:38:43 -05:00
Zdenek Kabelac
249d4a921c
tests: extend delay
...
400 was appeared to be good value in pvmove-abort.sh
so use also in abort-all.
2015-04-09 13:16:53 +02:00
Zdenek Kabelac
1a7c9ce3bd
tests: handle debug.log from clvmd
...
When clvmd starts, it starts it's own command logging into debug.log.
This is interferring with our other command debug.log.
As as sideeffect we may experience log from command,
followed but lots of zeros and continued with clvmd log.
Fix it by renaming debug.log and now we could also print this trace
to get full list of clvmd activity nicely.
Also improve some post-mortem prints from udevadm and dmsetup to
make the output more usable.
2015-04-09 13:13:36 +02:00
Zdenek Kabelac
073643c9a2
tests: slowdown write on dev3 even more
2015-04-08 23:19:38 +02:00
Zdenek Kabelac
ebde60beab
tests: use single lvmconf call
2015-04-08 23:19:37 +02:00
Zdenek Kabelac
a5b34f0f1b
tests: put "" around dev path
2015-04-08 23:19:37 +02:00
Zdenek Kabelac
8fdca0de79
tests: check scsi_debug support opt_blks
...
Some older kernels (i.e. lenny) do not have such options.
2015-04-07 14:59:13 +02:00
Zdenek Kabelac
64353ff74b
tests: when test fails collect more info
...
In some case it might be worth to know some more surrouding info
when command has crashed.
So collect tables and some udev db content in this case.
2015-04-07 13:40:15 +02:00
Zdenek Kabelac
ba049e203b
tests: skip clvmd testing of mirrored LV vgsplit
...
There is something wrong when even inactive LV can't be splitted
without cmirrord being present for clustered VG.
2015-04-03 20:14:26 +02:00
Zdenek Kabelac
87cb0a3e9f
tests: change default to 30s.
...
Keep rather the default lower and avoid to pass it with every call.
2015-04-03 19:40:43 +02:00
Zdenek Kabelac
32a0f625a5
tests: slow down devices in outer loop
...
Since now we have metadata parts running with normal speed,
we could avoid reinitilising delayed dev for every test.
(Saving seconds on cookie waits...)
2015-04-03 19:40:42 +02:00
Zdenek Kabelac
c88ffbf9df
tests: delay only data portion of device
2015-04-03 17:18:11 +02:00
Zdenek Kabelac
93ab6d5184
tests: better check for empty set
...
Even when no arg is passed - there is still one "" arg there...
So taky it easy and check for empty string instead.
2015-04-03 16:38:05 +02:00
Zdenek Kabelac
ce3c61c4af
tests: delay only data area
2015-04-03 14:54:22 +02:00
Zdenek Kabelac
385457de23
tests: test update
...
Really wait till fsck is running (sleep 2 is not ideal)
Use new 'delay_dev'.
2015-04-03 14:54:22 +02:00
Zdenek Kabelac
d3a591a7b3
tests: hide unwanted output
2015-04-03 14:54:22 +02:00
Zdenek Kabelac
dc41859220
tests: enhance delay_dev
...
Use common code for error_dev & delay_dev.
Both functions now take list of sectors.
From now on we could delay just 'extent' section, while
keeping running lvm commands fast (having native metadata area).
2015-04-03 14:53:36 +02:00
Zdenek Kabelac
bd84389c68
tests: add get first_extent_sector
...
Trvial function to figure out sector position of 1st. extent.
2015-04-03 14:20:03 +02:00
Zdenek Kabelac
308f9bcc18
tests: simplify check sysfs_queue
...
Pass just device name and let figure out
sysfs path inside the function.
2015-04-03 10:27:00 +02:00
Zdenek Kabelac
a701d337d4
tests: slowdown pvmove devs more
...
Once pvmove is running - slow it even more
since some test machines tend to be very very slow.
2015-04-02 16:02:06 +02:00
Zdenek Kabelac
1966025245
tests: split bigger test
...
Use separate new test and avoid teardown_devs
in the middle of single test.
2015-04-02 16:01:01 +02:00
Zdenek Kabelac
a16324b0d3
tests: drop check for awk
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
ee65528547
tests: fix test warning
...
We cannot print TEST WARNING within test shell script
(since it's running in debug mode and thus always prints it)
Use 'should false' trick let the string printed in this case.
So 'non cluster cases' should now end properly.
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
536f5fa0a3
tests: deal with kernel and broken lcm
...
If the kernel has 'new lcm()' (3.19) it provides wrong
optimal_io_size value for dm device so lvm2 command cannot
create properly aligned devices.
Use 'should' for this case - so test ends with 'TEST WARNING'.
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
7a6e3838e9
tests: add check sysfs_queue
...
Add check function for content of /sys/block/$1/queue/$2 == $3
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
95dbedb301
tests: move exa test to separate file
...
Make it visible the 'exa' test passed on an arch.
2015-04-02 13:38:41 +02:00
Zdenek Kabelac
6d1c9a0eb8
tests: more duplicate testing
2015-04-02 13:38:41 +02:00
David Teigland
bf2d831e7e
tests: add clvm case to system_id.sh
2015-03-31 14:45:14 -05:00
Ondrej Kozina
b9e6e66de1
tests: add pvmove --abort for all moves in progress
...
test for bug described in c282a66132
2015-03-30 18:39:30 +02:00
Ondrej Kozina
5f7428e4d5
tests: add pvmove --abort test
...
test for bug described in c282a66132
2015-03-30 18:39:24 +02:00
Ondrej Kozina
7c66850ce5
tests: add helper routine for pvmove status check
2015-03-30 18:38:50 +02:00
Ondrej Kozina
c8caa04b1c
tests: fix check for existence of a pvmove Lv
2015-03-30 18:38:50 +02:00
Zdenek Kabelac
8a87fadbb0
tests: drop vg2 at end of test
2015-03-26 16:11:29 +01:00
Zdenek Kabelac
22d43ee14a
tests: skip system_id test in cluster
...
Let's see what we can do in cluster for system_id,
until resolved skip test for check_cluster.
2015-03-26 16:10:48 +01:00
Zdenek Kabelac
147b0a1700
tests: pvmove better delay check
...
Improve testing for condition that pvmove0 is already running in the
table (so we do not kill pvmove while it has loaded target, but
it's not yet Live).
Also delay_dev for 200ms.
2015-03-26 16:03:24 +01:00
Zdenek Kabelac
d24b6cfb1f
tests: temporarily trace prepare_vg
2015-03-26 15:11:15 +01:00
Zdenek Kabelac
f08154cc7b
tests: update aux
...
When we use /dev/loopX device - shift first PV1 sector by 1M
so /dev/loop0 and dm device do not appear as same device.
Also notify lvmetad once 'devs' are created - so in case this
command is called in the middle of test - lvmetad properly
drops its metadata for these devices.
Drop used test.img file between reuse so the 'prepare_vg'
always starts with zeroed disks.
When LVM_TEST_AUX_TRACE is set, allow shell tracing of aux commands.
2015-03-26 15:10:31 +01:00
Zdenek Kabelac
b7ebab7657
tests: avoid multiple pids
...
On some systems (parisc) pgrep prints more then 1 pid
(all thread IDs are printed)
So print only leading pid and avoid 'kill' being confused.
2015-03-26 15:10:04 +01:00
Peter Rajnoha
0bffd99daa
tests: move thin-related test from select-tools.sh to select-tools-thin.sh
...
And skip this test if thin target is not available.
2015-03-24 10:12:27 +01:00
Peter Rajnoha
9dbe2d760f
tests: select-tools.sh: add test for fix in commit c9f021de0b
2015-03-24 09:50:35 +01:00
Ondrej Kozina
192a83def3
tests: add omitted --atomic mode in pvmove-restart
2015-03-23 14:55:13 +01:00
Zdenek Kabelac
361e2d8df7
tests: revert should removal in mirror test
...
Since cluster test was actually not been working,
removal of should has been premature.
So restore 'should' back - bug in mirror code is still there.
2015-03-20 11:08:44 +01:00
Zdenek Kabelac
21343ffbfe
tests: start clvmd without lib/
2015-03-20 11:08:21 +01:00
Zdenek Kabelac
e4fa756385
tests: export shell vars
...
Export vars so they are visible in 'aux' calls as well.
(reenables cluster testing)
2015-03-19 11:23:44 +01:00
Zdenek Kabelac
a10a11bd54
lvchange: disable persistent minors for pools
...
There is no reason to support persistent major/minor numbers
for pool volumes - it's only meant to be supported for filesystems
(since i.e. nfs may need to keep volume on a persistent device node.)
Support for pools is now explicitely disabled and documented.
2015-03-18 13:42:13 +01:00
Peter Rajnoha
038013cf42
lvmetad: pvscan: do not scan and read ignored MDAs from PVs
...
Metadata areas which are marked as ignored should not be scanned
and read during pvscan --cache. Otherwise, this can cause lvmetad
to cache out-of-date metadata in case other PVs with fresh metadata
are missing by chance.
Make this to work like in non-lvmetad case where the behaviour would
be the same as if the PV was orphan (in case we have no other PVs
with valid non-ignored metadata areas).
2015-03-16 17:00:36 +01:00
Zdenek Kabelac
ff5217f850
tests: add ""
...
Add missing "" around 'devs' (since they could
theoritically constain spaces in its name - not
likely supported with udev these day but anyway....)
2015-03-16 15:06:05 +01:00
Zdenek Kabelac
36bcbeadd0
tests: fix select report
...
Simplify the function usage and clean up parameter parsing.
There were 2 significant changes made in the test itself
(they passed before because of incorrect shell string handling)
-pvs_sel 'tags="pv_tag1"' "$dev1 $dev2"
+sel pv 'tags="pv_tag1"' "$dev1" "$dev6"
-lvs_sel '(lv_name=vol1 || lv_name=vol2) || vg_tags=vg_tag1' "vol1 vol2
abc orig snap"
+sel lv '(lv_name=vol1 || lv_name=vol2) || vg_tags=vg_tag1' vol1 vol2
orig snap xyz
2015-03-16 15:02:39 +01:00
Zdenek Kabelac
0e1d1aaca8
tests: check for dmeventd first
...
Check there is no dmeventd before creating vg.
2015-03-16 12:26:00 +01:00
Zdenek Kabelac
e6a69af2d7
tests: drop unused ""
2015-03-13 12:12:54 +01:00
Zdenek Kabelac
eded54df7b
tests: avoid loop on older system
...
Cleanup overload of 'push'.
Don't busy-loop when reading is finished.
2015-03-12 00:07:45 +01:00
Zdenek Kabelac
26f5ec0e98
tests: update runner
...
Avoid busy-looping on CPU while reading socket pipe
and always call read only when select tells there is
something for read.
Change the batch output to old nicer output.
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
1ad9677cb3
tests: update makefile
...
Respect $LVM_TEST_RESULT dir
Share same target for clean: & distclean:
Cleanup path-common
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
bbe4f7e4c5
tests: drop unneeded comment
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
243a135fe9
tests: capture and print thrown errors
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
bdf4e3e2f2
tests: do not leak in mem in destructor
2015-03-11 21:17:23 +01:00
Zdenek Kabelac
8a2b9f045f
tests: extend race
...
Mark test as skipped, if the test could not be made.
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
ed2dcb796f
tests: drop old workaround
...
Should be usable now without this 'should'.
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
a042678a83
tests: specify old mirror type
...
Use old mirror (otherwise it would need aux have_raid)
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
6cecf61cc3
tests: cleanup some cxx warnings
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
3f7e62b340
tests: enable kmsg by default
...
By default we want to capture kernel log into test trace
(since when test crashes it could be problem to reproduce).
2015-03-11 11:02:35 +01:00
Zdenek Kabelac
db5166fbfa
tests: extend test timeout to 180sec
...
Some test could take more then minute (with slow udev and slow
emulation) - extend timeout to 180sec.
2015-03-11 11:02:35 +01:00
David Teigland
c7290759b0
tests: update to not run vgconvert -M with lvmetad
2015-03-10 09:59:52 -05:00
David Teigland
08371a8b80
tests: fix systemid uname test
...
The string reported by uname -n may include characters
that lvm omits from the system id (like parens, as seen
on a test machine.) Check against the final system id
string that lvm uses.
2015-03-06 09:57:37 -06:00
Zdenek Kabelac
588b3bd7a1
tests: speed of many PVS in a VG
2015-03-06 14:29:26 +01:00
Zdenek Kabelac
85ef614b37
tests: slightly more efficient vgcreate
...
With larger set of devices it's faster to directly call
vgcreate on empty set of devices then going though separate
pvcreate call first.
2015-03-06 14:05:06 +01:00
Peter Rajnoha
e73dad7874
vgremove: select: direct selection to be done per-VG, not per-LV
...
Though vgremove operates per VG by definition, internally, it
actually means iterating over each LV it contains to do the
remove.
So we need to direct selection a bit in this case so that the
selection is done per-VG, not per-LV.
That means, use processing handle with void_handle.internal_report_for_select=0
for the process_each_lv_in_vg that is called later in vgremove_single fn.
We need to disable internal selection for process_each_lv_in_vg
here as selection is already done by process_each_vg which calls
vgremove_single. Otherwise selection would be done per-LV and not
per-VG as we intend!
An intra-release fix for commit 00744b053f
.
2015-03-04 10:44:31 +01:00
David Teigland
66d074e913
tests: more system_id tests
2015-02-26 13:23:22 -06:00
David Teigland
efd7480de3
tests: add more system_id tests
2015-02-25 16:13:28 -06:00
David Teigland
2c50cbe8cb
tests: fix the system_id tests
...
That were broken by yesterday's system_id changes.
2015-02-25 14:58:49 -06:00
David Teigland
ebb2205b4c
tests: add more systemid tests
2015-02-25 14:58:49 -06:00
Petr Rockai
7d615a3fe5
cache: Fix a segfault when passing --cachepolicy without --cachesettings.
2015-02-24 11:39:35 +01:00
Alasdair G Kergon
2fc2928978
config: Rename allow_system_id to extra_system_ids.
...
Add warnings to the config file templates and briefly document
each value.
Configure lvmlocal.conf and install in /etc/lvm.
2015-02-23 22:19:08 +00:00
David Teigland
55dd45239a
tests: skip system_id machineid case when not available
...
instead of creating a fake /etc/machine-id file on the
system to test with.
2015-02-20 13:12:38 -06:00
David Teigland
6bc35a351a
report: fix foreign reporting without lvmetad
2015-02-19 15:24:31 -06:00
David Teigland
b896bf8f5a
tests: add system_id test
2015-02-19 14:42:39 -06:00
Petr Rockai
88411fb6f9
test: Avoid a race in pvmove-restart.sh.
2015-02-18 12:27:47 +01:00
Petr Rockai
733e3f6f98
test: Make pvmove0 device removal more robust, in pvmove-restart.sh.
2015-02-18 10:21:06 +01:00
Zdenek Kabelac
10b8d2a4ea
tests: hide uninteresting output
...
We don't care about diff output.
2015-02-17 15:54:21 +01:00
Zdenek Kabelac
cd1a76a492
tests: syncaction update
...
Improve syncaction testing with some minor
workaround for current upstream kernel
2015-02-17 11:05:04 +01:00
Zdenek Kabelac
120e1aa4bd
tests: ensure lv1 goes away first
...
$lv1 may appear in the table after -pvmove0 which could make -pvmove0
unremovable.
2015-02-17 11:05:04 +01:00
Peter Rajnoha
1ced5562cd
tests: fix pvcreate-operation-md test to properly clean up devs before their reuse
...
pvcreate filters out devices with existing partitions defined on them,
we need to properly clean up the devs before we reuse them.
2015-02-13 14:53:26 +01:00
Peter Rajnoha
993c988895
tests: comment in select-tools.sh
2015-02-13 11:45:13 +01:00
Peter Rajnoha
1c005b557a
tests: select-tools.sh: pvchange now uses process_each_pv
...
pvchange now uses process_each_pv so uncomment parts of the test
which check proper functionality of intersection between selection
result and PVs or PV tags directly provided on command line. This
didn't work properly before when pvchange was not using process_each_pv.
For example:
pvchange -u -S 'pv_name=/dev/sda' /dev/sdb
..changes nothing since clearly the intersection of /dev/sda and
/dev/sdb is empty set. The same applies for tags:
pvchange -u -S 'pv_name=/dev/sda' @some_tag
..changes nothing if /dev/sda is not tagged with some_tag.
2015-02-13 11:27:09 +01:00
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
Petr Rockai
efb3e7ca00
test: Improve IO handling in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
8c8fb67fc2
test: Improve tracking of silence (stuck testcases) in the runner.
2015-02-05 13:47:18 +01:00
Petr Rockai
dc1d157878
test: Make the runner's journal more reliable.
2015-02-05 13:47:17 +01:00
Petr Rockai
d27833ba7c
test: Implement flavours in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
f3bf89ebcc
test: Fix handling of envvars in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
0bd2a9b7b1
test: Makefile updates.
...
- make check now uses the new test runner
- the testsuite can be installed (make -C test install)
2015-02-05 13:47:17 +01:00
Petr Rockai
b4215f956f
test: Make it possible to run tests from an installed location.
2015-02-05 13:47:17 +01:00
Petr Rockai
5698953948
test: Use the new flavour setup files in lib/inittest.
2015-02-05 13:47:17 +01:00
Petr Rockai
9752ee8ed2
test: Fix IO sink destructors in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
df27c64041
test: Add a buffer-backed IO sink (for interactive runs).
2015-02-05 13:47:17 +01:00
Petr Rockai
f53fcc0746
test: Implement a file-backed IO sink in the runner.
2015-02-05 13:47:17 +01:00
Petr Rockai
bdd0bc83eb
test: Make runner use bigger IO buffers, put them on stack.
2015-02-05 13:47:17 +01:00
Petr Rockai
7957fc4a44
test: Allow test devices backed by a permanent block device.
2015-02-05 13:47:17 +01:00
Petr Rockai
c5a120c443
test: Add new flavour definition files.
2015-02-05 13:47:17 +01:00
Petr Rockai
fa46385164
test: Write a results/list at the end of a test run.
2015-02-05 13:47:17 +01:00
Petr Rockai
bf16937869
test: Clean up fds properly in the runner.
2015-02-05 13:47:16 +01:00