testsuite: allow tests to work in paths containing spaces
Tweak some tests so they work when the path to the test directory or $HOME contains spaces. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
9db344a0f4
commit
1f27fa9838
@@ -15,7 +15,7 @@
|
||||
|
||||
testing "grep (exit with error)" "grep nonexistent 2> /dev/null ; echo \$?" \
|
||||
"1\n" "" ""
|
||||
testing "grep (exit success)" "grep grep $0 > /dev/null 2>&1 ; echo \$?" "0\n" \
|
||||
testing "grep (exit success)" "grep grep '$0' > /dev/null 2>&1 ; echo \$?" "0\n" \
|
||||
"" ""
|
||||
# Test various data sources and destinations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user