X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Funrepresentable;h=fa71bd38b6e4ca7492ea2eb8eb4832d1c4c2109b;hp=5b3e139387aacee13c5bb4af39a0a85f4a444518;hb=73431be6826351c4b3bbd50b61848693e1646749;hpb=03f67737414ebb3631f097d45c5aff9a83e63b1b diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable index 5b3e1393..fa71bd38 100755 --- a/tests/tests/unrepresentable +++ b/tests/tests/unrepresentable @@ -4,13 +4,13 @@ set -e t-tstunt-parsechangelog -t-prep-newpackage example 1.0 +t-prep-newpackage example 1.1 ln -s $troot/pkg-srcs/${p}_${v%-*}.orig.tar.* . cd $p -start () { git checkout quilt-tip~0; } +start () { git checkout quilt-tip-1.1~0; } attempt () { t-dgit -wgf --quilt=smash quilt-fixup; } badly-1 () { @@ -25,9 +25,13 @@ badly-2 () { attempt } -badly-1 symlink 'not a plain file' - ln -s TARGET symlink - git add symlink +badly-1 orig-symlink 'not a plain file' + ln -sf NEWTARGET orig-symlink + git add orig-symlink +badly-2 + +badly-1 orig-symlink 'not a plain file' + git rm -f orig-symlink badly-2 start @@ -49,4 +53,4 @@ badly-2 start attempt -echo ok. +t-ok