X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/587e977a97865f091131355f6dd250ece99f7adb..dd4503c862644d4dbc45cf97db64c2c1ac001f8d:/test/whatnow/test-cd diff --git a/test/whatnow/test-cd b/test/whatnow/test-cd index ef6175d9..48389cbf 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"