summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-05-25 14:54:38 +0200
committerHarald Hoyer <harald@redhat.com>2012-05-29 09:23:31 +0200
commitf7c05f7de6069ba8a2d61e77421ddd6c558f388e (patch)
treee0f481c3cb76a655ff223853b5928e95fe3891df /test
parent33a5e20ffaa2cbb2853f14265566bac66a7f9026 (diff)
downloadsystemd-f7c05f7de6069ba8a2d61e77421ddd6c558f388e.tar.gz
test/TEST-01-BASIC: make DEBUGTOOLS an environment variable
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-01-BASIC/test.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 6e7e97ef43..19676454ac 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -7,6 +7,8 @@ KVERSION=${KVERSION-$(uname -r)}
# Uncomment this to debug failures
#DEBUGFAIL="systemd.unit=multi-user.target"
+DEBUGTOOLS="df free ls stty cat ps ln ip route dmesg dhclient mkdir cp ping dhclient strace less grep id tty touch du sort"
+
run_qemu() {
qemu-kvm \
@@ -196,10 +198,7 @@ EOF
fi
# some helper tools for debugging
- dracut_install sh df free ls shutdown poweroff \
- stty cat ps ln ip route \
- mount dmesg dhclient mkdir cp ping dhclient \
- umount strace less grep id tty touch
+ [[ $DEBUGTOOLS ]] && dracut_install $DEBUGTOOLS
# install ld.so.conf* and run ldconfig
cp -a /etc/ld.so.conf* $initdir/etc