summaryrefslogtreecommitdiff
path: root/tests/misc/help-version
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-23 06:59:23 -0600
committerEric Blake <ebb9@byu.net>2009-10-23 16:24:08 -0600
commit1ce9e1e5ca1e7491bccedeeced15470d856c9a22 (patch)
treeb1ff911072e189b2e0b3b84f605353e68fae27ac /tests/misc/help-version
parentb6540b96ba6510af7b2acc6e81bd9d9583f7c96b (diff)
downloadcoreutils-1ce9e1e5ca1e7491bccedeeced15470d856c9a22.tar.xz
nohup: use EXIT_CANCELED if not POSIXLY_CORRECT
* src/nohup.c (NOHUP_FAILURE): Rename... (POSIX_NOHUP_FAILURE): ...to this. (main): Pay attention to POSIXLY_CORRECT, to determine whether to use status 125 or 127. * doc/coreutils.texi (nohup invocation): Document this. * NEWS: Likewise. * tests/misc/invalid-opt (exit_status): Adjust expected results. * tests/misc/help-version (expected_failure_status): Likewise. * tests/misc/nohup: Likewise.
Diffstat (limited to 'tests/misc/help-version')
-rwxr-xr-xtests/misc/help-version2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version
index 57cc1e7d3..da559070f 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -30,7 +30,7 @@ export SHELL
expected_failure_status_chroot=125
expected_failure_status_env=125
expected_failure_status_nice=125
-expected_failure_status_nohup=127
+expected_failure_status_nohup=125
expected_failure_status_stdbuf=125
expected_failure_status_su=125
expected_failure_status_timeout=125