chiark / gitweb /
dgit: clone-dgit-repos-server: Set $access_forpush
[dgit.git] / tests / tests / unrepresentable
index 88a697230e01ae088c91e98be2955fa18b489504..0d02c6aac9dc6c0cd30439a8539d2e75385f20b3 100755 (executable)
@@ -21,7 +21,7 @@ badly-1 () {
 
 badly-2 () {
        git commit -m "Commit wrongness $wrongfn ($wrongmsg)"
-       t-expect-fail "cannot represent change: $wrongmsg: $wrongfn" \
+       t-expect-fail E:"cannot represent change: $wrongmsg .*: $wrongfn" \
        attempt
 }
 
@@ -30,9 +30,10 @@ badly-1 symlink 'not a plain file'
        git add symlink
 badly-2
 
-badly-1 src.c deleted
+start
        git rm src.c
-badly-2
+       git commit -m deleted
+attempt
 
 badly-1 src.c 'mode changed'
        chmod +x src.c
@@ -48,4 +49,4 @@ badly-2
 start
 attempt
 
-echo ok.
+t-ok