]> thyrsus.com Git - src.git/commitdiff
This is enough to turn up a bug.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 16:16:09 +0000 (11:16 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 7 Nov 2014 16:16:09 +0000 (11:16 -0500)
srctest

diff --git a/srctest b/srctest
index 66226105daa9aa070d72859747a9c4bbf8b4a9ed..dbc6211d57a46e68d30a8e40c54dfffd7fb574eb 100755 (executable)
--- a/srctest
+++ b/srctest
@@ -2,7 +2,7 @@
 #
 # Regression tester for SRC.
 #
-trap "rm -f testfile*" 0 1 2 15
+trap "rm -f testfile* .src/testfile*" 0 1 2 15
 
 check() {
     case $? in
@@ -13,10 +13,16 @@ check() {
 
 # Catches dumb and obvious case of code having a Python syntax error
 src >>/dev/null 2>&1
-check "smoketest"
+check "smoke test"
 
 cat >testfile$$ <<EOF
 Now is the time
 EOF
 
+src add testfile$$ >/dev/null
+check "add"
+
+src commit -m "First comment" >/dev/null
+check "commit"
+
 # end