projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58a8b4
)
Perform explicit exit-nonzero if the embedded Perl script fails.
author
Jim Meyering
<meyering@redhat.com>
Fri, 28 Mar 2008 11:30:26 +0000
(12:30 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 28 Mar 2008 13:21:27 +0000
(14:21 +0100)
* tests/misc/pwd-long: Add canonical '(exit $fail); exit $fail'.
Signed-off-by: Jim Meyering <meyering@redhat.com>
tests/misc/pwd-long
patch
|
blob
|
history
diff --git
a/tests/misc/pwd-long
b/tests/misc/pwd-long
index
d931d34
..
37b552c
100755
(executable)
--- a/
tests/misc/pwd-long
+++ b/
tests/misc/pwd-long
@@
-1,4
+1,5
@@
#!/bin/sh
+# -*- perl -*-
# Ensure that pwd works even when run from a very deep directory.
# Copyright (C) 2006-2008 Free Software Foundation, Inc.
@@
-112,3
+113,7
@@
if ($expected ne $actual)
exit 1;
}
EOF
+
+fail=$?
+
+(exit $fail); exit $fail