From 1f27fa98380c134cd0f5f03b4cd3dfe2e83c09b7 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Fri, 9 Feb 2018 09:52:52 +0000 Subject: 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 Signed-off-by: Denys Vlasenko --- testsuite/pwd/pwd-prints-working-directory | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/pwd') diff --git a/testsuite/pwd/pwd-prints-working-directory b/testsuite/pwd/pwd-prints-working-directory index 971adb5a6..fc7fea7c9 100644 --- a/testsuite/pwd/pwd-prints-working-directory +++ b/testsuite/pwd/pwd-prints-working-directory @@ -1,4 +1,4 @@ # shell's $PWD may leave symlinks unresolved. # "pwd" may be a built-in and have the same problem. # External pwd _can't_ have that problem (current dir on Unix is physical). -test $(`which pwd`) = $(busybox pwd) +test "$(`which pwd`)" = "$(busybox pwd)" -- cgit v1.2.3