Skip to content

Commit 3101482

Browse files
committed
testsuite: fix non-bourne shell test failure
Problem: Test in t2802-uri-cmd failed because of quoting issues with non-bourne shells. Test was recently broken due to change in: testsuite: make sure test ssh runs $SHELL c6a760c Solution: Set SHELL to /bin/sh in test.
1 parent a34a229 commit 3101482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2802-uri-cmd.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ test_expect_success 'setup fake csm_allocation_query for mock lsf testing' '
162162
export FLUX_SSH=${SHARNESS_TEST_SRCDIR}/scripts/tssh
163163
'
164164
test_expect_success 'flux-uri mock testing of lsf resolver works' '
165-
result=$(flux uri --local lsf:12345) &&
165+
result=$(SHELL=/bin/sh flux uri --local lsf:12345) &&
166166
test "$result" = "$FLUX_URI"
167167
'
168168
test_expect_success 'cleanup jobs' '

0 commit comments

Comments
 (0)