chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag dgit/2.14 into `defence in dgit-repos-server' branch
[dgit.git]
/
tests
/
tests
/
unrepresentable
diff --git
a/tests/tests/unrepresentable
b/tests/tests/unrepresentable
index 88a697230e01ae088c91e98be2955fa18b489504..0d02c6aac9dc6c0cd30439a8539d2e75385f20b3 100755
(executable)
--- a/
tests/tests/unrepresentable
+++ b/
tests/tests/unrepresentable
@@
-21,7
+21,7
@@
badly-1 () {
badly-2 () {
git commit -m "Commit wrongness $wrongfn ($wrongmsg)"
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
}
attempt
}
@@
-30,9
+30,10
@@
badly-1 symlink 'not a plain file'
git add symlink
badly-2
git add symlink
badly-2
-badly-1 src.c deleted
+start
git rm src.c
git rm src.c
-badly-2
+ git commit -m deleted
+attempt
badly-1 src.c 'mode changed'
chmod +x src.c
badly-1 src.c 'mode changed'
chmod +x src.c
@@
-48,4
+49,4
@@
badly-2
start
attempt
start
attempt
-echo ok.
+t-ok