]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid failure when auto selecting factor tests
authorPádraig Brady <P@draigBrady.com>
Sun, 18 Oct 2015 01:27:22 +0000 (02:27 +0100)
committerPádraig Brady <P@draigBrady.com>
Mon, 19 Oct 2015 09:24:12 +0000 (10:24 +0100)
* tests/factor/run.sh: If this template is found through
`grep -El "print_ver_.* factor"` for example, then just skip it.

tests/factor/run.sh

index 2cf2b47e3f34206c1e51f994eb384c18ca45f03c..7dd1180a8d2efc93ced75484261eec6cfeabe98c 100755 (executable)
@@ -24,6 +24,8 @@ START=__START__
   END=__END__
 CKSUM=__CKSUM__
 
+test "$START" = '__ST''ART__' && skip_ 'ignoring factor test template'
+
 echo "$CKSUM  -" > exp
 
 f=1