Skip to content

Commit c60a2eb

Browse files
committed
testsuite: fix invalid option in test
Problem: In a test in t2800-jobs-cmd.t, both the --filter and --all option are specified, leading to unexpected output. The test happens to pass, but may not behave as intended. Remove the -a option in the test.
1 parent c730f0a commit c60a2eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t2800-jobs-cmd.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ test_expect_success 'flux-jobs: custom format with numeric spec works' '
182182
test_expect_success 'flux-jobs: collapsible fields work' '
183183
flux jobs -ao "{id.f58:<12} ?:{exception.type:>8}" >nocollapse.out &&
184184
flux jobs -f running,completed \
185-
-ao "{id.f58:<12} ?:{exception.type:>8}" >collapsed.out &&
185+
-o "{id.f58:<12} ?:{exception.type:>8}" >collapsed.out &&
186186
test_debug "head -n1 nocollapse.out" &&
187187
test_debug "head -n1 collapsed.out" &&
188188
grep EXCEPTION-TYPE nocollapse.out &&

0 commit comments

Comments
 (0)