File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -485,6 +485,17 @@ test_expect_success 'flux-jobs --format={id.dec/f58/hex/kvs/dothex/words} works'
485485 test_cmp ids.XX.expected ids.XX.out
486486'
487487
488+ # N.B. don't use test_cmp for match, there can be minor differences in spacing depending
489+ # on terminal and font. Just do a grep.
490+ test_expect_success ' flux-jobs --format={id.emoji},{id.emoji:>12W},{id.emoji:<12W} works' '
491+ flux jobs -ano "{id.emoji},{id.emoji:>12W},{id.emoji:<12W}" \
492+ > ids.emoji.out &&
493+ for id in $(cat all.ids); do
494+ idemoji=$(flux job id --to=emoji $id) &&
495+ grep ${idemoji} ids.emoji.out
496+ done
497+ '
498+
488499test_expect_success ' flux-jobs --format={userid},{username} works' '
489500 flux jobs --no-header -a --format="{userid},{username}" > user.out &&
490501 id=`id -u` &&
You can’t perform that action at this time.
0 commit comments