]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
add another test
authorJim Meyering <jim@meyering.net>
Sun, 13 Jul 2003 09:27:34 +0000 (09:27 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 13 Jul 2003 09:27:34 +0000 (09:27 +0000)
tests/misc/nohup

index bcc610f742269c627f24c0b26d749f4709a54118..36a965556fb913d2ea5501af2a9e20d56fb3d1ba 100755 (executable)
@@ -100,4 +100,8 @@ EOF
 # cmp exp err || fail=1
 # test $fail = 1 && diff exp err 2> /dev/null
 
+# Make sure it fails with exit status of 127 when given too few arguments.
+nohup >/dev/null 2>&1
+test $? = 127 || fail=1
+
 (exit $fail); exit $fail