X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Ftests%2Funrepresentable;h=e4b0da85a4e2fcb5c686697687ef210640ba063b;hb=fc36b5b71a33e555d92d368beffeb2735fbe0010;hp=89df7199ff6af582f03b8b6d197ef5edd4554db4;hpb=c3db904b1de5630bd90655563f341d22e22986bc;p=dgit.git diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable index 89df7199..e4b0da85 100755 --- a/tests/tests/unrepresentable +++ b/tests/tests/unrepresentable @@ -12,6 +12,11 @@ cd $p start () { git checkout quilt-tip-1.1~0; } attempt () { t-dgit -wgf --quilt=smash quilt-fixup; } +good () { + attempt + t-dgit --quilt=nofix -wgf build-source + t-dgit -wgf --dry-run push --new +} badly-1 () { wrongfn=$1 @@ -37,7 +42,13 @@ badly-2 start git rm src.c git commit -m deleted -attempt +good + +start + git rm orig-exec + git rm -f orig-unwriteable + git commit -m 'deleted funny' +good badly-1 src.c 'mode or type changed' chmod +x src.c @@ -51,6 +62,6 @@ badly-1 new 'creation with non-default mode' badly-2 start -attempt +good t-ok