X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Ftests%2Fwhatnow%2Ftest-cd;h=44fecb6cf8c343d018afaf137fd7225b9cac8571;hb=88b2142594d5ea1e8385dae5eca81eed1018c555;hp=6bc20400b0e2b187c6ca68ff35fe85158a2e1245;hpb=e98f7f60095bceba1f32e448c421b3e862b728aa;p=mmh diff --git a/test/tests/whatnow/test-cd b/test/tests/whatnow/test-cd index 6bc2040..44fecb6 100644 --- a/test/tests/whatnow/test-cd +++ b/test/tests/whatnow/test-cd @@ -1,7 +1,7 @@ #!/bin/sh ###################################################### # -# Test that whatnow's "ls" copes with directory names +# Test that whatnow's "cd" copes with directory names # which have spaces and quotes in them (see bug #23319) # ###################################################### @@ -26,9 +26,12 @@ EOF cat > $expectederr < "$actualerr" > "$actual" || true +printf "cd $MH_TEST_DIR/foo\\\\'s\\\\ bar\npwd\n" | whatnow -prompt '' 2> "$actualerr" > "$actual" || true diff -u $expectederr $actualerr diff -u $expected $actual