master - test: fix process-each-duplicate-vgnames
by David Teigland
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=eee3aeeb612c65...
Commit: eee3aeeb612c65c0851bf8080e0ef381587837ab
Parent: c36dcc17282cf9c5f745cc627f9ce3825b4ee5e2
Author: David Teigland <teigland(a)redhat.com>
AuthorDate: Fri Aug 30 11:45:12 2013 -0500
Committer: David Teigland <teigland(a)redhat.com>
CommitterDate: Fri Aug 30 11:53:10 2013 -0500
test: fix process-each-duplicate-vgnames
After enable_dev, the following commands were not
consistently seeing the pv on it.
Alasdair explained, "whenever enabling/disabling devs
outside the tools (and you aren't trying to test how
the tools cope with suddenly appearing/disappering
devices) use "vgscan""
---
test/shell/process-each-duplicate-vgnames.sh | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/test/shell/process-each-duplicate-vgnames.sh b/test/shell/process-each-duplicate-vgnames.sh
index 865ef9f..6eeaa6f 100644
--- a/test/shell/process-each-duplicate-vgnames.sh
+++ b/test/shell/process-each-duplicate-vgnames.sh
@@ -18,15 +18,22 @@ aux disable_dev $dev1
aux disable_dev $dev2
aux enable_dev $dev1
+vgscan
vgcreate $vg1 $dev1
UUID1=$(vgs --noheading -o vg_uuid $vg1)
aux disable_dev $dev1
aux enable_dev $dev2
+vgscan
vgcreate $vg1 $dev2
UUID2=$(vgs --noheading -o vg_uuid $vg1)
aux enable_dev $dev1
+# need vgscan after enabling/disabling devs
+# so that the next commands properly see them
+vgscan
+pvs $dev1
+pvs $dev2
vgs -o+vg_uuid >err
cat err
@@ -43,6 +50,7 @@ cat err
grep $UUID1 err
not grep $UUID2 err
aux enable_dev $dev2
+vgscan
aux disable_dev $dev1
vgs -o+vg_uuid >err
@@ -50,4 +58,5 @@ cat err
grep $UUID2 err
not grep $UUID1 err
aux enable_dev $dev1
+vgscan
10 years, 3 months
master - man: lvmdump -u -l
by Peter Rajnoha
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c36dcc17282cf9...
Commit: c36dcc17282cf9c5f745cc627f9ce3825b4ee5e2
Parent: 78647da1c66106e3e8f310cd37742d196e195c96
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Thu Aug 29 14:20:57 2013 +0200
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Thu Aug 29 14:20:57 2013 +0200
man: lvmdump -u -l
---
man/lvmdump.8.in | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/man/lvmdump.8.in b/man/lvmdump.8.in
index 306ae39..5e355de 100644
--- a/man/lvmdump.8.in
+++ b/man/lvmdump.8.in
@@ -8,7 +8,9 @@ lvmdump - create lvm2 information dumps for diagnostic purposes
.RB [ \-d
.IR directory ]
.RB [ \-h ]
+.RB [ \-l ]
.RB [ \-m ]
+.RB [ \-u ]
.SH DESCRIPTION
lvmdump is a tool to dump various information concerning LVM2.
By default, it creates a tarball suitable for submission along
10 years, 3 months
master - toolcontext: Only reopen stdin if readable.
by Alasdair Kergon
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=78647da1c66106...
Commit: 78647da1c66106e3e8f310cd37742d196e195c96
Parent: c0f987949b8a0bbbbe7f06694f59f710a73814da
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: Wed Aug 28 23:55:14 2013 +0100
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: Wed Aug 28 23:55:14 2013 +0100
toolcontext: Only reopen stdin if readable.
Don't fail when running lvm commands under versions of nohup that set
up stdin as O_WRONLY!
---
WHATS_NEW | 1 +
lib/commands/toolcontext.c | 19 +++++++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/WHATS_NEW b/WHATS_NEW
index 71e9fa8..c56be6d 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.101 -
===================================
+ Don't assume stdin file descriptor is readable.
Avoid unlimited recursion when creating dtree containing inactive pvmove LV.
Require exactly 3 arguments for lvm2-activation-generator. Remove defaults.
Disable pvmove of merging or converting logical volumes.
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
index 702a2d8..4f53f0e 100644
--- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c
@@ -1372,6 +1372,7 @@ struct cmd_context *create_toolcontext(unsigned is_long_lived,
{
struct cmd_context *cmd;
FILE *new_stream;
+ int flags;
#ifdef M_MMAP_MAX
mallopt(M_MMAP_MAX, 0);
@@ -1415,7 +1416,10 @@ struct cmd_context *create_toolcontext(unsigned is_long_lived,
goto out;
}
- if (is_valid_fd(STDIN_FILENO)) {
+ /* nohup might set stdin O_WRONLY ! */
+ if (is_valid_fd(STDIN_FILENO) &&
+ ((flags = fcntl(STDIN_FILENO, F_GETFL)) > 0) &&
+ (flags & O_ACCMODE) != O_WRONLY) {
if (!_reopen_stream(stdin, STDIN_FILENO, "r", "stdin", &new_stream))
goto_out;
stdin = new_stream;
@@ -1425,7 +1429,9 @@ struct cmd_context *create_toolcontext(unsigned is_long_lived,
}
}
- if (is_valid_fd(STDOUT_FILENO)) {
+ if (is_valid_fd(STDOUT_FILENO) &&
+ ((flags = fcntl(STDOUT_FILENO, F_GETFL)) > 0) &&
+ (flags & O_ACCMODE) != O_RDONLY) {
if (!_reopen_stream(stdout, STDOUT_FILENO, "w", "stdout", &new_stream))
goto_out;
stdout = new_stream;
@@ -1709,6 +1715,7 @@ void destroy_toolcontext(struct cmd_context *cmd)
{
struct dm_config_tree *cft_cmdline;
FILE *new_stream;
+ int flags;
if (cmd->dump_filter && cmd->filter && cmd->filter->dump &&
!cmd->filter->dump(cmd->filter, 1))
@@ -1741,7 +1748,9 @@ void destroy_toolcontext(struct cmd_context *cmd)
#ifndef VALGRIND_POOL
if (cmd->linebuffer) {
/* Reset stream buffering to defaults */
- if (is_valid_fd(STDIN_FILENO)) {
+ if (is_valid_fd(STDIN_FILENO) &&
+ ((flags = fcntl(STDIN_FILENO, F_GETFL)) > 0) &&
+ (flags & O_ACCMODE) != O_WRONLY) {
if (_reopen_stream(stdin, STDIN_FILENO, "r", "stdin", &new_stream)) {
stdin = new_stream;
setlinebuf(stdin);
@@ -1749,7 +1758,9 @@ void destroy_toolcontext(struct cmd_context *cmd)
cmd->linebuffer = NULL; /* Leave buffer in place (deliberate leak) */
}
- if (is_valid_fd(STDOUT_FILENO)) {
+ if (is_valid_fd(STDOUT_FILENO) &&
+ ((flags = fcntl(STDOUT_FILENO, F_GETFL)) > 0) &&
+ (flags & O_ACCMODE) != O_RDONLY) {
if (_reopen_stream(stdout, STDOUT_FILENO, "w", "stdout", &new_stream)) {
stdout = new_stream;
setlinebuf(stdout);
10 years, 3 months
master - activation: Fix segfault with inactive pvmove LV.
by Alasdair Kergon
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c0f987949b8a0b...
Commit: c0f987949b8a0bbbbe7f06694f59f710a73814da
Parent: 0acd7173d14195aeb724c1048a8cbf64a2fd2aa7
Author: Alasdair G Kergon <agk(a)redhat.com>
AuthorDate: Wed Aug 28 22:56:23 2013 +0100
Committer: Alasdair G Kergon <agk(a)redhat.com>
CommitterDate: Wed Aug 28 22:56:23 2013 +0100
activation: Fix segfault with inactive pvmove LV.
Set flag to avoid recursion back through an inactive pvmove LV when
populating deptree.
---
WHATS_NEW | 3 ++-
lib/activate/dev_manager.c | 8 +++++---
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/WHATS_NEW b/WHATS_NEW
index d974b0a..71e9fa8 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,6 +1,7 @@
Version 2.02.101 -
===================================
- Require exactly 3 arguments for lvm2-activation-generator, remove defaults.
+ Avoid unlimited recursion when creating dtree containing inactive pvmove LV.
+ Require exactly 3 arguments for lvm2-activation-generator. Remove defaults.
Disable pvmove of merging or converting logical volumes.
Enable pvmove of snapshots and snapshot origins.
Fix inability to specify LV name when pvmove'ing a RAID, mirror, or thin-LV.
diff --git a/lib/activate/dev_manager.c b/lib/activate/dev_manager.c
index 294606c..11be421 100644
--- a/lib/activate/dev_manager.c
+++ b/lib/activate/dev_manager.c
@@ -1763,11 +1763,13 @@ static int _add_lv_to_dtree(struct dev_manager *dm, struct dm_tree *dtree,
return_0;
/* Add any LVs referencing a PVMOVE LV unless told not to. */
- if (dm->track_pvmove_deps && lv->status & PVMOVE)
+ if (dm->track_pvmove_deps && lv->status & PVMOVE) {
+ dm->track_pvmove_deps = 0;
dm_list_iterate_items(sl, &lv->segs_using_this_lv)
- if (!_cached_info(dm->mem, dtree, sl->seg->lv, 0) &&
- !_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
+ if (!_add_lv_to_dtree(dm, dtree, sl->seg->lv, origin_only))
return_0;
+ dm->track_pvmove_deps = 1;
+ }
/* Adding LV head of replicator adds all other related devs */
if (lv_is_replicator_dev(lv) &&
10 years, 3 months
master - systemd: lvm2-activation-generator: remove default dir if args not specified and require all args to be given
by Peter Rajnoha
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0acd7173d14195...
Commit: 0acd7173d14195aeb724c1048a8cbf64a2fd2aa7
Parent: c9258e7f2eebd4fd188d95bcfb9a280d857d186f
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Wed Aug 28 16:06:51 2013 +0200
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Wed Aug 28 16:06:51 2013 +0200
systemd: lvm2-activation-generator: remove default dir if args not specified and require all args to be given
Remove default "/tmp" as destination directory if no args
specified for lvm2-activation-generator. Require all the
args to be specified directly for proper functionality.
---
WHATS_NEW | 1 +
.../lvm2_activation_generator_systemd_red_hat.c | 7 +++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/WHATS_NEW b/WHATS_NEW
index 29af78d..d974b0a 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
Version 2.02.101 -
===================================
+ Require exactly 3 arguments for lvm2-activation-generator, remove defaults.
Disable pvmove of merging or converting logical volumes.
Enable pvmove of snapshots and snapshot origins.
Fix inability to specify LV name when pvmove'ing a RAID, mirror, or thin-LV.
diff --git a/scripts/lvm2_activation_generator_systemd_red_hat.c b/scripts/lvm2_activation_generator_systemd_red_hat.c
index 9cec0a9..7e93d7d 100644
--- a/scripts/lvm2_activation_generator_systemd_red_hat.c
+++ b/scripts/lvm2_activation_generator_systemd_red_hat.c
@@ -27,7 +27,6 @@
#define KMSG_DEV_PATH "/dev/kmsg"
#define LVM_CONF_USE_LVMETAD "global/use_lvmetad"
-#define DEFAULT_UNIT_DIR "/tmp"
#define UNIT_TARGET_LOCAL_FS "local-fs.target"
#define UNIT_TARGET_REMOTE_FS "remote-fs.target"
@@ -174,8 +173,8 @@ int main(int argc, char *argv[])
kmsg_fd = open(KMSG_DEV_PATH, O_WRONLY|O_NOCTTY);
- if (argc > 1 && argc != 4) {
- kmsg(LOG_ERR, "LVM: Activation generator takes three or no arguments.\n");
+ if (argc != 4) {
+ kmsg(LOG_ERR, "LVM: Incorrect number of arguments for activation generator.\n");
r = EXIT_FAILURE; goto out;
}
@@ -183,7 +182,7 @@ int main(int argc, char *argv[])
if (lvm_uses_lvmetad())
goto out;
- dir = argc > 1 ? argv[1] : DEFAULT_UNIT_DIR;
+ dir = argv[1];
if (!generate_unit(dir, UNIT_EARLY) ||
!generate_unit(dir, UNIT_MAIN) ||
10 years, 3 months
master - man: lvmdump: add doc for -l and -u
by Peter Rajnoha
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=c9258e7f2eebd4...
Commit: c9258e7f2eebd4fd188d95bcfb9a280d857d186f
Parent: 8b3664dc8dcfb5bf86be03f20e62617e0c49f5ec
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Wed Aug 28 14:57:34 2013 +0200
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Wed Aug 28 14:59:15 2013 +0200
man: lvmdump: add doc for -l and -u
---
man/lvmdump.8.in | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/man/lvmdump.8.in b/man/lvmdump.8.in
index 3d53420..306ae39 100644
--- a/man/lvmdump.8.in
+++ b/man/lvmdump.8.in
@@ -35,6 +35,10 @@ The content of the tarball is as follows:
- if enabled with \-a, debug output of vgscan, pvscan and list of all available volume groups, physical volumes and logical volumes will be included
.br
- if enabled with \-c, cluster status info
+.br
+- if enabled with \-l, lvmetad state if running
+.br
+- if enabled with \-u, udev info and context
.SH OPTIONS
.TP
.B \-a
@@ -54,11 +58,24 @@ produce the raw dump tree, rooted in \fIdirectory\fP.
.B \-h
Print help message
.TP
+.B \-l
+Include \fBlvmetad\fP(8) daemon dump if it is running. The dump contains
+cached information that is currently stored in lvmetad: VG metadata,
+PV metadata and various mappings in between these metadata for quick
+access.
+.TP
.B \-m
Gather LVM metadata from the PVs
This option generates a 1:1 dump of the metadata area from all PVs visible
to the system, which can cause the dump to increase in size considerably.
However, the metadata dump may represent a valuable diagnostic resource.
+.TP
+.B \-u
+Gather udev info and context: /etc/udev/udev.conf file, udev daemon version
+(output of 'udevadm info --version' command), udev rules currently used in the system
+(content of /lib/udev/rules.d and /etc/udev/rules.d directory),
+list of files in /lib/udev directory and dump of current udev
+database content (the output of 'udevadm info --export-db' command).
.SH ENVIRONMENT VARIABLES
.TP
\fBLVM_BINARY\fP
10 years, 3 months
master - test: Set the timeout to 3 minutes (was 5s accidentally).
by Petr Rockai
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=8b3664dc8dcfb5...
Commit: 8b3664dc8dcfb5bf86be03f20e62617e0c49f5ec
Parent: 64fe17dc94ce3b7cc547c9fc544c34460d99d5b3
Author: Petr Rockai <prockai(a)redhat.com>
AuthorDate: Fri Aug 23 18:11:22 2013 +0200
Committer: Petr Rockai <prockai(a)redhat.com>
CommitterDate: Wed Aug 28 14:53:23 2013 +0200
test: Set the timeout to 3 minutes (was 5s accidentally).
---
test/lib/harness.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/lib/harness.c b/test/lib/harness.c
index af30c44..52fa62f 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -381,7 +381,7 @@ static void run(int i, char *f) {
FD_SET(fds[1], &master_set);
while ((w = wait4(pid, &st, WNOHANG, &usage)) == 0) {
if ((fullbuffer && fullbuffer++ == 8000) ||
- time(NULL) - start > 5) // a 2 minute timeout
+ time(NULL) - start > 180) // a 3 minute timeout
{
system("echo t > /proc/sysrq-trigger");
kill(pid, SIGINT);
10 years, 3 months
master - test: Add a new "check_full" target, which also tests with real /dev.
by Petr Rockai
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=64fe17dc94ce3b...
Commit: 64fe17dc94ce3b7cc547c9fc544c34460d99d5b3
Parent: b516a72b117eeee627f469369fadf56caf3041a7
Author: Petr Rockai <prockai(a)redhat.com>
AuthorDate: Fri Aug 23 10:09:23 2013 +0200
Committer: Petr Rockai <prockai(a)redhat.com>
CommitterDate: Wed Aug 28 14:53:23 2013 +0200
test: Add a new "check_full" target, which also tests with real /dev.
The original "check" target stays confined to a local device directory, while
check_full does 6 flavours, 3 with a local device directory and 3 with the
global /dev directory (the latter are prefixed with "s" for
"system"). I.e.: normal, cluster, lvmetad, snormal, scluster, slvmetad.
---
Makefile.in | 2 +-
test/Makefile.in | 16 ++++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 2ee20e5..81002ea 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -94,7 +94,7 @@ all: cscope.out
endif
DISTCLEAN_TARGETS += cscope.out
-check check_cluster check_local check_lvmetad unit: all
+check check_full check_cluster check_local check_lvmetad unit: all
$(MAKE) -C test $(@)
install_system_dirs:
diff --git a/test/Makefile.in b/test/Makefile.in
index 89092d0..b663e7a 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -77,6 +77,22 @@ check: .tests-stamp
$(patsubst %,cluster:%,$(RUN_BASE)) \
$(patsubst %,lvmetad:%,$(RUN_BASE))
+check_full: .tests-stamp
+ VERBOSE=$(VEROSE) \
+ cluster_LVM_TEST_LOCKING=3 \
+ scluster_LVM_TEST_LOCKING=3 \
+ lvmetad_LVM_TEST_LVMETAD=1 \
+ slvmetad_LVM_TEST_LVMETAD=1 \
+ snormal_LVM_TEST_DEVDIR=/dev \
+ scluster_LVM_TEST_DEVDIR=/dev \
+ slvmetad_LVM_TEST_DEVDIR=/dev \
+ ./lib/harness $(patsubst %,normal:%,$(RUN_BASE)) \
+ $(patsubst %,cluster:%,$(RUN_BASE)) \
+ $(patsubst %,lvmetad:%,$(RUN_BASE)) \
+ $(patsubst %,snormal:%,$(RUN_BASE)) \
+ $(patsubst %,scluster:%,$(RUN_BASE)) \
+ $(patsubst %,slvmetad:%,$(RUN_BASE))
+
check_cluster: .tests-stamp
@echo Testing with locking_type 3
VERBOSE=$(VERBOSE) LVM_TEST_LOCKING=3 ./lib/harness $(RUN_BASE)
10 years, 3 months
master - test: Check for flavoured variables earlier.
by Petr Rockai
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b516a72b117eee...
Commit: b516a72b117eeee627f469369fadf56caf3041a7
Parent: d07cf851e5e9f501a034ac69d9f544e7426ec82c
Author: Petr Rockai <prockai(a)redhat.com>
AuthorDate: Fri Aug 23 10:06:14 2013 +0200
Committer: Petr Rockai <prockai(a)redhat.com>
CommitterDate: Wed Aug 28 14:53:23 2013 +0200
test: Check for flavoured variables earlier.
This is necessary to make LVM_TEST_DEVDIR flavourable, and in turn have flavours
that use the global /dev (which can in turn be managed by udev).
---
test/lib/test.sh | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/test/lib/test.sh b/test/lib/test.sh
index 20da059..563ef59 100644
--- a/test/lib/test.sh
+++ b/test/lib/test.sh
@@ -38,6 +38,16 @@ export TESTOLDPWD TESTDIR COMMON_PREFIX PREFIX RUNNING_DMEVENTD
test -n "$BASH" && trap 'set +vx; STACKTRACE; set -vx' ERR
trap 'aux teardown' EXIT # don't forget to clean up
+cd "$TESTDIR"
+
+if test -n "$LVM_TEST_FLAVOUR"; then
+ touch flavour_overrides
+ env | grep ^$LVM_TEST_FLAVOUR | while read var; do
+ (echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
+ done
+ . flavour_overrides
+fi
+
DM_DEV_DIR="$TESTDIR/dev"
LVM_SYSTEM_DIR="$TESTDIR/etc"
mkdir "$LVM_SYSTEM_DIR" "$TESTDIR/lib" "$DM_DEV_DIR"
@@ -55,18 +65,8 @@ DM_ABORT_ON_INTERNAL_ERRORS=${DM_ABORT_ON_INTERNAL_ERRORS:-1}
export DM_DEV_DIR LVM_SYSTEM_DIR DM_ABORT_ON_INTERNAL_ERRORS
-cd "$TESTDIR"
-
echo "$TESTNAME" >TESTNAME
-if test -n "$LVM_TEST_FLAVOUR"; then
- touch flavour_overrides
- env | grep ^$LVM_TEST_FLAVOUR | while read var; do
- (echo -n "export "; echo $var | sed -e s,^${LVM_TEST_FLAVOUR}_,,) >> flavour_overrides
- done
- . flavour_overrides
-fi
-
# Setting up symlink from $i to $TESTDIR/lib
find "$abs_top_builddir/daemons/dmeventd/plugins/" -name '*.so' \
-exec ln -s -t lib "{}" +
10 years, 3 months
master - test: Remove a redundant drain() from the timeout path.
by Petr Rockai
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=d07cf851e5e9f5...
Commit: d07cf851e5e9f501a034ac69d9f544e7426ec82c
Parent: c1217e6881f6d679c0589078c00350f00c6bee10
Author: Petr Rockai <prockai(a)redhat.com>
AuthorDate: Mon Aug 5 21:12:39 2013 +0200
Committer: Petr Rockai <prockai(a)redhat.com>
CommitterDate: Wed Aug 28 14:53:23 2013 +0200
test: Remove a redundant drain() from the timeout path.
---
test/lib/harness.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/test/lib/harness.c b/test/lib/harness.c
index 586c5d3..af30c44 100644
--- a/test/lib/harness.c
+++ b/test/lib/harness.c
@@ -390,7 +390,6 @@ static void run(int i, char *f) {
kill(-pid, SIGKILL);
w = pid; // waitpid(pid, &st, NULL);
}
- drain();
runaway = 1;
break;
}
10 years, 3 months