summaryrefslogtreecommitdiff
path: root/tests/misc/sum
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/misc/sum
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/misc/sum')
-rwxr-xr-xtests/misc/sum2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/sum b/tests/misc/sum
index 527170798..d87bdd03f 100755
--- a/tests/misc/sum
+++ b/tests/misc/sum
@@ -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