summaryrefslogtreecommitdiff
path: root/tests/mkdir
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-11-13 23:59:15 +0000
committerJim Meyering <jim@meyering.net>2000-11-13 23:59:15 +0000
commita8fab3b2ebcef0a93cef068afe9091c6874c97ce (patch)
tree8984caf0fea3b5c33187dc1402b30dee39a529cf /tests/mkdir
parent2e9fdf49c57a2fde9d1bb2048728b294c3674a26 (diff)
downloadcoreutils-a8fab3b2ebcef0a93cef068afe9091c6874c97ce.tar.xz
Add an `echo' so that the input to the sed command
is NL-terminated. Otherwise, Solaris' /bin/sed generates no output. Reported by Vin Shelton.
Diffstat (limited to 'tests/mkdir')
-rwxr-xr-xtests/mkdir/perm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mkdir/perm b/tests/mkdir/perm
index 83dc70c42..1556f1ddf 100755
--- a/tests/mkdir/perm
+++ b/tests/mkdir/perm
@@ -40,7 +40,7 @@ for p in empty -p; do
old_IFS=$IFS
IFS=':'
- set - `echo "$tests"|tr -d '\012'|sed 's/^ *//;s/ *:/:/g;s/: */:/g'`
+ set - `(echo "$tests"|tr -d '\012'; echo)|sed 's/^ *//;s/ *:/:/g;s/: */:/g'`
IFS=$old_IFS
while :; do