X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=test%2Ftests%2Fwhatnow%2Ftest-cd;h=05bbd7606f048f284512bef9c47c05ecf89481b9;hb=f7d9cd4bee03230dd8839581f772bdf2bdbf3c97;hp=6bc20400b0e2b187c6ca68ff35fe85158a2e1245;hpb=e98f7f60095bceba1f32e448c421b3e862b728aa;p=mmh diff --git a/test/tests/whatnow/test-cd b/test/tests/whatnow/test-cd index 6bc2040..05bbd76 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) # ###################################################### @@ -24,11 +24,15 @@ $SPDIR 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