summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-07-11 08:40:45 +0200
committerHarald Hoyer <harald@redhat.com>2012-07-11 08:40:45 +0200
commit4dda0095a1aabb86486f1e4c1b9a8b32250cc960 (patch)
tree844ca5e7d94bca7af3f5d6eacdf620290b3c854c /test
parentbef2fd9722c6f2fd972515c41963639e3bae0bc7 (diff)
downloaddracut-4dda0095a1aabb86486f1e4c1b9a8b32250cc960.tar.gz
dracut-4dda0095a1aabb86486f1e4c1b9a8b32250cc960.tar.bz2
dracut-4dda0095a1aabb86486f1e4c1b9a8b32250cc960.zip
test/*/server-init.sh: redirect stdin,out,err to /dev/console
Diffstat (limited to 'test')
-rwxr-xr-xtest/TEST-20-NFS/server-init.sh2
-rwxr-xr-xtest/TEST-30-ISCSI/server-init.sh2
-rwxr-xr-xtest/TEST-40-NBD/server-init.sh2
-rwxr-xr-xtest/TEST-50-MULTINIC/server-init.sh2
4 files changed, 6 insertions, 2 deletions
diff --git a/test/TEST-20-NFS/server-init.sh b/test/TEST-20-NFS/server-init.sh
index c3c02389..58fdeee6 100755
--- a/test/TEST-20-NFS/server-init.sh
+++ b/test/TEST-20-NFS/server-init.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-exec >/dev/console 2>&1
+exec </dev/console >/dev/console 2>&1
set -x
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export TERM=linux
diff --git a/test/TEST-30-ISCSI/server-init.sh b/test/TEST-30-ISCSI/server-init.sh
index 6f24b604..091f4ee8 100755
--- a/test/TEST-30-ISCSI/server-init.sh
+++ b/test/TEST-30-ISCSI/server-init.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+exec </dev/console >/dev/console 2>&1
+set -x
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export TERM=linux
export PS1='nfstest-server:\w\$ '
diff --git a/test/TEST-40-NBD/server-init.sh b/test/TEST-40-NBD/server-init.sh
index e8f899c5..8d2dd6de 100755
--- a/test/TEST-40-NBD/server-init.sh
+++ b/test/TEST-40-NBD/server-init.sh
@@ -1,4 +1,6 @@
#!/bin/sh
+exec </dev/console >/dev/console 2>&1
+set -x
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export TERM=linux
export PS1='nbdtest-server:\w\$ '
diff --git a/test/TEST-50-MULTINIC/server-init.sh b/test/TEST-50-MULTINIC/server-init.sh
index 01470e19..43d7f401 100755
--- a/test/TEST-50-MULTINIC/server-init.sh
+++ b/test/TEST-50-MULTINIC/server-init.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-exec >/dev/console 2>&1
+exec </dev/console >/dev/console 2>&1
set -x
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
export TERM=linux