diff options
author | Harald Hoyer <harald@redhat.com> | 2010-10-28 14:39:53 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2010-10-28 17:11:34 +0200 |
commit | 387bf82e306c220391f0bc72084c299a5e37c8f9 (patch) | |
tree | 1ad604be128f7dc020434ef0f2a8f2238d329aa1 | |
parent | 11adeb7c011a8f17632847dbef3441136cb422a7 (diff) | |
download | dracut-387bf82e306c220391f0bc72084c299a5e37c8f9.tar.gz dracut-387bf82e306c220391f0bc72084c299a5e37c8f9.tar.bz2 dracut-387bf82e306c220391f0bc72084c299a5e37c8f9.zip |
test/*/*-init: set PATH
/sbin and /usr/sbin are no longer in $PATH
-rwxr-xr-x | test/TEST-10-RAID/test-init | 1 | ||||
-rwxr-xr-x | test/TEST-11-LVM/test-init | 1 | ||||
-rwxr-xr-x | test/TEST-12-RAID-DEG/test-init | 1 | ||||
-rwxr-xr-x | test/TEST-13-ENC-RAID-LVM/test-init | 1 | ||||
-rwxr-xr-x | test/TEST-14-IMSM/test-init | 1 | ||||
-rwxr-xr-x | test/TEST-20-NFS/client-init | 1 | ||||
-rwxr-xr-x | test/TEST-20-NFS/server-init | 1 | ||||
-rwxr-xr-x | test/TEST-30-ISCSI/client-init | 1 | ||||
-rwxr-xr-x | test/TEST-30-ISCSI/server-init | 1 | ||||
-rwxr-xr-x | test/TEST-40-NBD/client-init | 1 | ||||
-rwxr-xr-x | test/TEST-40-NBD/server-init | 1 | ||||
-rwxr-xr-x | test/TEST-50-MULTINIC/client-init | 1 | ||||
-rwxr-xr-x | test/TEST-50-MULTINIC/server-init | 1 |
13 files changed, 13 insertions, 0 deletions
diff --git a/test/TEST-10-RAID/test-init b/test/TEST-10-RAID/test-init index ccdc9a4f..8f7cdf3a 100755 --- a/test/TEST-10-RAID/test-init +++ b/test/TEST-10-RAID/test-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sda1 export TERM=linux diff --git a/test/TEST-11-LVM/test-init b/test/TEST-11-LVM/test-init index ccdc9a4f..8f7cdf3a 100755 --- a/test/TEST-11-LVM/test-init +++ b/test/TEST-11-LVM/test-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sda1 export TERM=linux diff --git a/test/TEST-12-RAID-DEG/test-init b/test/TEST-12-RAID-DEG/test-init index ccdc9a4f..8f7cdf3a 100755 --- a/test/TEST-12-RAID-DEG/test-init +++ b/test/TEST-12-RAID-DEG/test-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sda1 export TERM=linux diff --git a/test/TEST-13-ENC-RAID-LVM/test-init b/test/TEST-13-ENC-RAID-LVM/test-init index 8db853a4..6b86561f 100755 --- a/test/TEST-13-ENC-RAID-LVM/test-init +++ b/test/TEST-13-ENC-RAID-LVM/test-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sdb export TERM=linux diff --git a/test/TEST-14-IMSM/test-init b/test/TEST-14-IMSM/test-init index 0a8618fc..ac24398d 100755 --- a/test/TEST-14-IMSM/test-init +++ b/test/TEST-14-IMSM/test-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 echo "dracut-root-block-success" >/dev/sda export TERM=linux diff --git a/test/TEST-20-NFS/client-init b/test/TEST-20-NFS/client-init index 00fa3c9d..f9e6de31 100755 --- a/test/TEST-20-NFS/client-init +++ b/test/TEST-20-NFS/client-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 export TERM=linux export PS1='initramfs-test:\w\$ ' diff --git a/test/TEST-20-NFS/server-init b/test/TEST-20-NFS/server-init index 99210711..b1f3c8fd 100755 --- a/test/TEST-20-NFS/server-init +++ b/test/TEST-20-NFS/server-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin export TERM=linux export PS1='nfstest-server:\w\$ ' stty sane diff --git a/test/TEST-30-ISCSI/client-init b/test/TEST-30-ISCSI/client-init index b1cfa090..1b9d633f 100755 --- a/test/TEST-30-ISCSI/client-init +++ b/test/TEST-30-ISCSI/client-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 export TERM=linux export PS1='initramfs-test:\w\$ ' diff --git a/test/TEST-30-ISCSI/server-init b/test/TEST-30-ISCSI/server-init index 69b38ec3..96e958b6 100755 --- a/test/TEST-30-ISCSI/server-init +++ b/test/TEST-30-ISCSI/server-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin export TERM=linux export PS1='nfstest-server:\w\$ ' stty sane diff --git a/test/TEST-40-NBD/client-init b/test/TEST-40-NBD/client-init index d52b1635..22dacd9d 100755 --- a/test/TEST-40-NBD/client-init +++ b/test/TEST-40-NBD/client-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 while read dev fs fstype opts rest; do [ "$dev" = "rootfs" ] && continue diff --git a/test/TEST-40-NBD/server-init b/test/TEST-40-NBD/server-init index a9bbab62..c0f907eb 100755 --- a/test/TEST-40-NBD/server-init +++ b/test/TEST-40-NBD/server-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin export TERM=linux export PS1='nbdtest-server:\w\$ ' stty sane diff --git a/test/TEST-50-MULTINIC/client-init b/test/TEST-50-MULTINIC/client-init index 6b19167e..a65a6868 100755 --- a/test/TEST-50-MULTINIC/client-init +++ b/test/TEST-50-MULTINIC/client-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin exec >/dev/console 2>&1 export TERM=linux export PS1='initramfs-test:\w\$ ' diff --git a/test/TEST-50-MULTINIC/server-init b/test/TEST-50-MULTINIC/server-init index 78eab41e..edc09504 100755 --- a/test/TEST-50-MULTINIC/server-init +++ b/test/TEST-50-MULTINIC/server-init @@ -1,4 +1,5 @@ #!/bin/sh +export PATH=/sbin:/bin:/usr/sbin:/usr/bin export TERM=linux export PS1='nfstest-server:\w\$ ' stty sane |