chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
33a5e20
)
test/TEST-01-BASIC: make DEBUGTOOLS an environment variable
author
Harald Hoyer
<harald@redhat.com>
Fri, 25 May 2012 12:54:38 +0000
(14:54 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 29 May 2012 07:23:31 +0000
(09:23 +0200)
test/TEST-01-BASIC/test.sh
patch
|
blob
|
history
diff --git
a/test/TEST-01-BASIC/test.sh
b/test/TEST-01-BASIC/test.sh
index 6e7e97ef431c6067261f72784572f1e8f023a2d2..19676454ac55c33806a72221c5b3f59c4ab5c8fb 100755
(executable)
--- 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"
# 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 \
run_qemu() {
qemu-kvm \
@@
-196,10
+198,7
@@
EOF
fi
# some helper tools for debugging
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
# install ld.so.conf* and run ldconfig
cp -a /etc/ld.so.conf* $initdir/etc