X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Funrepresentable;h=5b3e139387aacee13c5bb4af39a0a85f4a444518;hp=88a697230e01ae088c91e98be2955fa18b489504;hb=03f67737414ebb3631f097d45c5aff9a83e63b1b;hpb=15229f292b8539da8b3327be89f34573812540e8 diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable index 88a69723..5b3e1393 100755 --- a/tests/tests/unrepresentable +++ b/tests/tests/unrepresentable @@ -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