From c6462147c65c39cfe7eb9f7a2c57af426ac2b824 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Mon, 22 Dec 2014 13:07:02 +0100 Subject: [PATCH] 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 --- test/tests/whatnow/test-attach-detach | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 1.7.10.4