summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-11 13:33:55 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-07-11 13:48:44 +0100
commit8cba3f92026d48c5792f64ed996f9aab942cc9e6 (patch)
treeadfe77b9dab9102cf884d798851bebac0ddb2b73 /tests
parent195998cbc987f5c35da2e937e4938dfda7865464 (diff)
Test suite: Provide t-files-notexist
Diffstat (limited to 'tests')
-rw-r--r--tests/lib9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index bd74ba8..469b8fc 100644
--- a/tests/lib
+++ b/tests/lib
@@ -301,6 +301,15 @@ t-diff-nogit () {
diff --exclude=.git --exclude=.pc -ruN $*
}
+t-files-notexist () {
+ local f
+ for f in "$@"; do
+ if [ -e $f ]; then
+ fail "$f exists!"
+ fi
+ done
+}
+
t-cloned-fetched-good () {
t-diff-nogit ../extract/$p-${v%-*} .
t-clean-on-branch dgit/sid