Skip to content

Commit

Permalink
testsuite: fix invalid option in test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chu11 committed May 3, 2023
1 parent 4b89d4e commit 1f5d039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t2800-jobs-cmd.t
Expand Up @@ -182,7 +182,7 @@ test_expect_success 'flux-jobs: custom format with numeric spec works' '
test_expect_success 'flux-jobs: collapsible fields work' '
flux jobs -ao "{id.f58:<12} ?:{exception.type:>8}" >nocollapse.out &&
flux jobs -f running,completed \
-ao "{id.f58:<12} ?:{exception.type:>8}" >collapsed.out &&
-o "{id.f58:<12} ?:{exception.type:>8}" >collapsed.out &&
test_debug "head -n1 nocollapse.out" &&
test_debug "head -n1 collapsed.out" &&
grep EXCEPTION-TYPE nocollapse.out &&
Expand Down

0 comments on commit 1f5d039

Please sign in to comment.