Skip to content

Commit 7cd346f

Browse files
committed
tetsuite: ensure flux submit --bank= works
Problem: No tests ensure that the submission commands support the `-B, --bank=` option. Add a couple tests to t2710-python-cli-submit.t for this purpose.
1 parent 850a362 commit 7cd346f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

t/t2710-python-cli-submit.t

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,14 @@ test_expect_success 'flux submit --queue works' '
9494
test_expect_success 'flux submit --queue works' '
9595
flux submit --env=-* --dry-run -q debug hostname >queue2.out && grep -i "debug" queue2.out
9696
'
97-
97+
test_expect_success 'flux submit --bank works' '
98+
flux submit --env=-* --dry-run --bank=mybank hostname >bank.out &&
99+
grep -i "mybank" bank.out
100+
'
101+
test_expect_success 'flux submit -B works' '
102+
flux submit --env=-* --dry-run -B mybank2 hostname >bank2.out &&
103+
grep -i "mybank2" bank2.out
104+
'
98105
test_expect_success 'flux submit --setattr works' '
99106
flux submit --env=-* --dry-run \
100107
--setattr user.meep=false \

0 commit comments

Comments
 (0)