Skip to content

Commit ba586ea

Browse files
committed
testsuite: test id.f58plain field in t2800-jobs-cmd.t
Problem: Availability of the f58plain jobid encoding with flux-jobs(1) is not tested in the testsuite. Add this encoding to the tests in t2800-jobs-cmd.t.
1 parent 4c678be commit ba586ea

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

t/t2800-jobs-cmd.t

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -471,13 +471,14 @@ test_expect_success 'flux-jobs --format={id} works' '
471471
test_cmp idsI.out inactive.ids
472472
'
473473

474-
test_expect_success 'flux-jobs --format={id.f58},{id.hex},{id.dothex},{id.words} works' '
475-
flux jobs -ano {id.dec},{id.f58},{id.hex},{id.kvs},{id.dothex},{id.words} \
474+
test_expect_success 'flux-jobs --format={id.f58},{id.f58plain},{id.hex},{id.dothex},{id.words} works' '
475+
flux jobs -ano {id.dec},{id.f58},{id.f58plain},{id.hex},{id.kvs},{id.dothex},{id.words} \
476476
| sort -n > ids.XX.out &&
477477
for id in $(cat all.ids); do
478-
printf "%s,%s,%s,%s,%s,%s\n" \
478+
printf "%s,%s,%s,%s,%s,%s,%s\n" \
479479
$(flux job id --to=dec $id) \
480480
$(flux job id --to=f58 $id) \
481+
$(flux job id --to=f58plain $id) \
481482
$(flux job id --to=hex $id) \
482483
$(flux job id --to=kvs $id) \
483484
$(flux job id --to=dothex $id) \
@@ -1157,6 +1158,7 @@ test_expect_success 'flux-jobs: header included with all custom formats' '
11571158
cat <<-EOF >headers.expected &&
11581159
id==JOBID
11591160
id.f58==JOBID
1161+
id.f58plain==JOBID
11601162
id.hex==JOBID
11611163
id.dothex==JOBID
11621164
id.words==JOBID

0 commit comments

Comments
 (0)