summaryrefslogtreecommitdiff
path: root/tests/rm
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-11-16 09:35:54 +0100
committerJim Meyering <meyering@redhat.com>2007-11-16 09:35:54 +0100
commitf77576a775f483c61adda2732ded9a76be9c0230 (patch)
tree77c6573761de7c6ae5c2ad4fc0e8b7e5472302bb /tests/rm
parent9c31db8cc416daaf52b231361ab5872050ee97ff (diff)
downloadcoreutils-f77576a775f483c61adda2732ded9a76be9c0230.tar.xz
Port to Solaris 8 perl, which does not support "use warnings;".
* tests/dd/skip-seek: Skip test if "use warnings;" fails. * tests/du/files0-from: Likewise. * tests/misc/base64: Likewise. * tests/misc/basename: Likewise. * tests/misc/cut: Likewise. * tests/misc/date: Likewise. * tests/misc/dircolors: Likewise. * tests/misc/dirname: Likewise. * tests/misc/expand: Likewise. * tests/misc/expr: Likewise. * tests/misc/factor: Likewise. * tests/misc/fmt: Likewise. * tests/misc/fold: Likewise. * tests/misc/head-elide-tail: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/md5sum: Likewise. * tests/misc/md5sum-newline: Likewise. * tests/misc/mktemp: Likewise. * tests/misc/od: Likewise. * tests/misc/paste-no-nl: Likewise. * tests/misc/pr: Likewise. * tests/misc/seq: Likewise. * tests/misc/sha1sum: Likewise. * tests/misc/sha1sum-vec: Likewise. * tests/misc/sha224sum: Likewise. * tests/misc/sha256sum: Likewise. * tests/misc/sha384sum: Likewise. * tests/misc/sha512sum: Likewise. * tests/misc/sort-merge: Likewise. * tests/misc/stat-printf: Likewise. * tests/misc/sum: Likewise. * tests/misc/test-diag: Likewise. * tests/misc/tsort: Likewise. * tests/misc/unexpand: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * tests/mv/i-1: Likewise. * tests/rm/empty-name: Likewise. * tests/rm/unreadable: Likewise.
Diffstat (limited to 'tests/rm')
-rwxr-xr-xtests/rm/empty-name2
-rwxr-xr-xtests/rm/unreadable2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/empty-name b/tests/rm/empty-name
index ead842245..a2af5be4c 100755
--- a/tests/rm/empty-name
+++ b/tests/rm/empty-name
@@ -24,7 +24,7 @@
: ${PERL=perl}
: ${srcdir=.}
-$PERL -e 1 > /dev/null 2>&1 || {
+$PERL -e 'use warnings;' > /dev/null 2>&1 || {
echo 1>&2 "$0: configure didn't find a usable version of Perl," \
"so can't run this test"
exit 77
diff --git a/tests/rm/unreadable b/tests/rm/unreadable
index 4af8280de..16c4c920a 100755
--- a/tests/rm/unreadable
+++ b/tests/rm/unreadable
@@ -19,7 +19,7 @@
: ${PERL=perl}
: ${srcdir=.}
-$PERL -e 1 > /dev/null 2>&1 || {
+$PERL -e 'use warnings;' > /dev/null 2>&1 || {
echo 1>&2 "$0: configure didn't find a usable version of Perl," \
"so can't run this test"
exit 77