X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Ftests%2Fwhatnow%2Ftest-attach-detach;h=82b25c695276884043b0364a3361f900ae65cc3a;hb=88b2142594d5ea1e8385dae5eca81eed1018c555;hp=8932bc3f82b91e4face86060f9fc43f3b4df551a;hpb=6e2f32e99cb31f65e86913e0706c92e257ab4169;p=mmh diff --git a/test/tests/whatnow/test-attach-detach b/test/tests/whatnow/test-attach-detach index 8932bc3..82b25c6 100644 --- a/test/tests/whatnow/test-attach-detach +++ b/test/tests/whatnow/test-attach-detach @@ -24,16 +24,17 @@ rm -f $expected $expectederr $actual $actualerr touch $expected $expectederr $actual $actualerr cat > $expected <> $actualerr >> $actual echo "alist" | whatnow -editor true -prompt '' 2>> $actualerr >> $actual -echo "detach baz\\'s\\ boz" | whatnow -editor true -prompt '' 2>> $actualerr >> $actual +echo "detach 1" | whatnow -editor true -prompt '' 2>> $actualerr >> $actual echo "alist" | whatnow -editor true -prompt '' 2>> $actualerr >> $actual set -e diff -u $expectederr $actualerr -diff -u $expected $actual +<$actual sed 's,/.*/,/XXX/,' >$actual.clean +diff -u $expected $actual.clean