diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/configure | 2 | ||||
-rwxr-xr-x | test/test-root.sh | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/configure b/test/configure index bdf36fcad..9acd021c8 100755 --- a/test/configure +++ b/test/configure | |||
@@ -28,7 +28,7 @@ ROOTDIR="/tmp/chroot" # default chroot directory | |||
28 | DEFAULT_FILES="/bin/bash /bin/sh " # basic chroot files | 28 | DEFAULT_FILES="/bin/bash /bin/sh " # basic chroot files |
29 | DEFAULT_FILES+="/etc/passwd /etc/nsswitch.conf /etc/group " | 29 | DEFAULT_FILES+="/etc/passwd /etc/nsswitch.conf /etc/group " |
30 | DEFAULT_FILES+=`find /lib -name libnss*` # files required by glibc | 30 | DEFAULT_FILES+=`find /lib -name libnss*` # files required by glibc |
31 | DEFAULT_FILES+=" /bin/cp /bin/ls /bin/cat /bin/ps /bin/netstat /bin/ping /sbin/ifconfig /usr/bin/touch /bin/hostname /bin/grep /usr/bin/dig /usr/bin/openssl /usr/bin/id /usr/bin/getent /usr/bin/whoami /usr/bin/wc /usr/bin/wget /bin/umount" | 31 | DEFAULT_FILES+=" /bin/cp /bin/ls /bin/cat /bin/ps /bin/netstat /bin/ping /sbin/ifconfig /usr/bin/touch /bin/ip /bin/hostname /bin/grep /usr/bin/dig /usr/bin/openssl /usr/bin/id /usr/bin/getent /usr/bin/whoami /usr/bin/wc /usr/bin/wget /bin/umount" |
32 | 32 | ||
33 | rm -fr $ROOTDIR | 33 | rm -fr $ROOTDIR |
34 | mkdir -p $ROOTDIR/{root,bin,lib,lib64,usr,home,etc,dev/shm,tmp,var/run,var/tmp,var/lock,var/log,proc} | 34 | mkdir -p $ROOTDIR/{root,bin,lib,lib64,usr,home,etc,dev/shm,tmp,var/run,var/tmp,var/lock,var/log,proc} |
diff --git a/test/test-root.sh b/test/test-root.sh index 7e1a0b968..aca48d334 100755 --- a/test/test-root.sh +++ b/test/test-root.sh | |||
@@ -9,7 +9,7 @@ echo "TESTING: profile tmpfs (profile_tmpfs)" | |||
9 | ./profile_tmpfs.exp | 9 | ./profile_tmpfs.exp |
10 | 10 | ||
11 | echo "TESTING: network interfaces (net_interface.exp)" | 11 | echo "TESTING: network interfaces (net_interface.exp)" |
12 | ./net_interface.exp | 12 | ./network/net_interface.exp |
13 | 13 | ||
14 | echo "TESTING: chroot (fs_chroot_asroot.exp)" | 14 | echo "TESTING: chroot (fs_chroot_asroot.exp)" |
15 | ./fs_chroot_asroot.exp | 15 | ./fs_chroot_asroot.exp |
@@ -48,13 +48,13 @@ echo "TESTING: /proc/sysrq-trigger reset disabled (sysrq-trigger.exp)" | |||
48 | ./sysrq-trigger.exp | 48 | ./sysrq-trigger.exp |
49 | 49 | ||
50 | echo "TESTING: seccomp umount (seccomp-umount.exp)" | 50 | echo "TESTING: seccomp umount (seccomp-umount.exp)" |
51 | ./seccomp-umount.exp | 51 | ./filters/seccomp-umount.exp |
52 | 52 | ||
53 | echo "TESTING: seccomp chmod (seccomp-chmod.exp)" | 53 | echo "TESTING: seccomp chmod (seccomp-chmod.exp)" |
54 | ./seccomp-chmod.exp | 54 | ./filters/seccomp-chmod.exp |
55 | 55 | ||
56 | echo "TESTING: seccomp chown (seccomp-chown.exp)" | 56 | echo "TESTING: seccomp chown (seccomp-chown.exp)" |
57 | ./seccomp-chown.exp | 57 | ./filters/seccomp-chown.exp |
58 | 58 | ||
59 | echo "TESTING: bind directory (option_bind_directory.exp)" | 59 | echo "TESTING: bind directory (option_bind_directory.exp)" |
60 | ./option_bind_directory.exp | 60 | ./option_bind_directory.exp |