summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2021-08-30 15:48:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2021-08-31 02:11:04 -0700
commitfb1c403a3816184803ab08bb35bbb52285291258 (patch)
tree1fb9960f564fec4b9e45cc9e7c28832fb03482f8
parent19573b992108214042c8a88923739bdc5f34cf1a (diff)
downloadgzip-fb1c403a3816184803ab08bb35bbb52285291258.tar.gz
tests: port two-files to IRIX 6.5
Problem reported by Nelson H. F. Beebe. * tests/two-files: Skip test if /dev/urandom is not readable.
-rwxr-xr-xtests/two-files2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/two-files b/tests/two-files
index 3ad25c8..70dfd8e 100755
--- a/tests/two-files
+++ b/tests/two-files
@@ -19,6 +19,8 @@
. "${srcdir=.}/init.sh"; path_prepend_ ..
+test -r /dev/urandom || skip_ "/dev/urandom missing"
+
dd if=/dev/urandom of=a count=5000 bs=1
dd if=/dev/urandom of=b count=5000 bs=1
cp a a.exp