summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-10-18 02:27:22 +0100
committerPádraig Brady <P@draigBrady.com>2015-10-19 10:24:12 +0100
commit66504d41aa849746ec0f4f7f2dfa88f098c45f48 (patch)
tree1aca9550e63cfbeb1c0d692ecefb2973630214e3
parent07b73c689d77612d23f9539e706fd7725f9cf2a5 (diff)
downloadcoreutils-66504d41aa849746ec0f4f7f2dfa88f098c45f48.tar.xz
tests: avoid failure when auto selecting factor tests
* tests/factor/run.sh: If this template is found through `grep -El "print_ver_.* factor"` for example, then just skip it.
-rwxr-xr-xtests/factor/run.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/factor/run.sh b/tests/factor/run.sh
index 2cf2b47e3..7dd1180a8 100755
--- a/tests/factor/run.sh
+++ b/tests/factor/run.sh
@@ -24,6 +24,8 @@ START=__START__
END=__END__
CKSUM=__CKSUM__
+test "$START" = '__ST''ART__' && skip_ 'ignoring factor test template'
+
echo "$CKSUM -" > exp
f=1