summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-11-29 21:15:59 +0000
committerPádraig Brady <P@draigBrady.com>2016-11-29 21:21:12 +0000
commita2bb79844fa9ef0a24a5930c88f6abd97180b9fa (patch)
tree8223fe96d1875bba4f6bc5a4d40bb3a62ba5997f /tests/misc
parent0655b86a6ebc6f1324810d504a71803aa708d162 (diff)
downloadcoreutils-a2bb79844fa9ef0a24a5930c88f6abd97180b9fa.tar.xz
tests: fix ERRORs and false FAILs on some platforms
* tests/misc/ls-time.sh: Skip the test rather than ERROR when `touch -m -d ...` fails (Hurd). * tests/tail-2/follow-stdin.sh: Avoid false FAILs by ignoring the variances in sterror output. * tests/rm/rm-readdir-fail.sh: Likewise. Also avoid ERRORs on systems that don't define _D_EXACT_NAMELEN.
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/ls-time.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/ls-time.sh b/tests/misc/ls-time.sh
index 09a0fc180..709a0034c 100755
--- a/tests/misc/ls-time.sh
+++ b/tests/misc/ls-time.sh
@@ -71,7 +71,7 @@ In the output below, the date of last modification for 'a' should
have been $t3.
EOF
ls --full -l a
- framework_failure_
+ skip_ "touch -m -d '$t3' didn't work"
;;
esac