Browse Source

NFS test: re-add the fix for the terminal

When debugging, this is still needed as we won't be redirecting out
output to /dev/null or a file. However, we need to guard against not
having a terminal.
master
David Dillow 16 years ago
parent
commit
d462f6dc65
  1. 3
      test/TEST-20-NFS/test.sh

3
test/TEST-20-NFS/test.sh

@ -16,6 +16,9 @@ run_server() { @@ -16,6 +16,9 @@ run_server() {
-initrd initramfs.server -pidfile server.pid -daemonize || return 1
sudo chmod 644 server.pid || return 1

# Cleanup the terminal if we have one
tty -s && stty sane

echo Sleeping 10 seconds to give the server a head start
sleep 10
}

Loading…
Cancel
Save