diff options
Diffstat (limited to 'kdebug/test-kernel.sh')
-rwxr-xr-x | kdebug/test-kernel.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kdebug/test-kernel.sh b/kdebug/test-kernel.sh index 1326cd7..38f5584 100755 --- a/kdebug/test-kernel.sh +++ b/kdebug/test-kernel.sh @@ -47,6 +47,8 @@ file /root/getcap $HERE/../progs/getcap 0755 0 0 file /root/capsh $HERE/../progs/capsh 0755 0 0 file /root/getpcaps $HERE/../progs/getpcaps 0755 0 0 file /root/tcapsh-static $HERE/../progs/tcapsh-static 0755 0 0 +file /root/exit $HERE/exit 0755 0 0 +file /root/uns_test $HERE/../tests/uns_test 0755 0 0 EOF # convenience for some local experiments @@ -55,6 +57,10 @@ if [ -f "$HERE/extras.sh" ]; then . "$HERE/extras.sh" fi +if [ -f "$HERE/interactive" ]; then + echo "file /root/interactive $HERE/interactive 0755 0 0" >> fs.conf +fi + COMMANDS="awk cat chmod cp dmesg fgrep id less ln ls mkdir mount pwd rm rmdir sh sort umount uniq vi" for f in $COMMANDS; do echo slink /bin/$f /sbin/busybox 0755 0 0 >> fs.conf @@ -73,4 +79,5 @@ qemu-system-$(uname -m) -m 1024 \ -kernel $KERNEL \ -initrd initramfs.img \ -append "$APPEND" \ - -smp sockets=2,dies=1,cores=4 + -smp sockets=2,dies=1,cores=4 \ + -device isa-debug-exit |