X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Fwhatnow%2Ftest-cd;h=48389cbf02174145c91c797e2dc7b5b83169ba27;hb=0f0af4e32a4d734209c16282b63f7cb1094e2699;hp=ef6175d9f51c78091b296bd47f829c18e9736ed5;hpb=bb8db313c1deea588b83a44a86e653d3cfcac9c1;p=mmh diff --git a/test/whatnow/test-cd b/test/whatnow/test-cd index ef6175d..48389cb 100755 --- a/test/whatnow/test-cd +++ b/test/whatnow/test-cd @@ -57,7 +57,7 @@ EOF # ||true to ignore whatnow's exit status # watch the quoting -- shell and printf and then the shell run inside whatnow -printf "cd $MH_TEST_DIR/foo\\\\'s\\\\ bar\npwd\n" | \ +printf 'cd %s/foo\\'"'"'s\\ bar\npwd\n' "$MH_TEST_DIR" | \ TERM=dumb whatnow -noedit -prompt '' 2> "$actualerr" > "$actual" || true check "$expectederr" "$actualerr"