From: markus schnalke Date: Mon, 22 Dec 2014 12:07:02 +0000 (+0100) Subject: Partly fix tests/whatnow/test-attach-detach: changes in detach and alist X-Git-Tag: mmh-0.2-RC1~82 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=c6462147c65c39cfe7eb9f7a2c57af426ac2b824;p=mmh Partly fix tests/whatnow/test-attach-detach: changes in detach and alist Whatnow's detach and alist commands are different today: - detach does only take number arguments - alist prints full path names --- 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