Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
remote.c: Fix overtight refspec validation
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 268b26c959692f8f575fb088143a92c4785b1214..870b255f13e1b2d971b7e036d130d35387e3c2c7 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-396,7
+396,12
@@
fi
# Test repository
test=trash
-rm -fr "$test"
+rm -fr "$test" || {
+ trap - exit
+ echo >&5 "FATAL: Cannot prepare test area"
+ exit 1
+}
+
test_create_repo $test
cd "$test"