From: Jim Meyering Date: Wed, 1 Apr 2009 14:59:54 +0000 (+0200) Subject: tests: skip mv/i-3 if /dev/stdin is unreadable X-Git-Tag: v7.3~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4145a1e54cb45cbd65091a0be0475c1659c0a846;p=thirdparty%2Fcoreutils.git tests: skip mv/i-3 if /dev/stdin is unreadable * tests/mv/i-3: Skip if /dev/stdin is unreadable. Reported by Sergei Steshenko. --- diff --git a/THANKS b/THANKS index 665a9ef7e6..11f43ac68b 100644 --- a/THANKS +++ b/THANKS @@ -509,6 +509,7 @@ Santiago Vila Doncel sanvila@unex.es Savochkin Andrey Vladimirovich saw@msu.ru Scott Lurndal slurn@griffin.engr.sgi.com Sébastien Maret smaret@umich.edu +Sergei Steshenko sergstesh@yahoo.com Shing-Shong Shei shei@cs.indiana.edu Soeren Sonnenburg sonnenburg@informatik.hu-berlin.de Solar Designer solar@owl.openwall.com diff --git a/tests/mv/i-3 b/tests/mv/i-3 index d1f119c42c..738605bd0a 100755 --- a/tests/mv/i-3 +++ b/tests/mv/i-3 @@ -35,6 +35,9 @@ fail=0 ls /dev/stdin >/dev/null 2>&1 \ || skip_test_ 'there is no /dev/stdin file' +test -r /dev/stdin 2>&1 \ + || skip_test_ '/dev/stdin is not readable' + mv f g < /dev/stdin > out 2>&1 & pid=$! sleep 1 kill $pid