Skip to content

Commit ccc6777

Browse files
committed
testsuite: enhance per-resource error tests in t2700-mini-cmd.t
Problem: Some expected error conditions were untested in t2700-mini-cmd.t. Add tests for cases where neither --nodes or --cores are used, but other per-resource options are.
1 parent 385f2b0 commit ccc6777

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

t/t2700-mini-cmd.t

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,12 @@ cat <<EOF >per-resource-failure.txt
358358
\
359359
--nodes=1 --tasks-per-core=1 --cores-per-task=1 \
360360
==Per-resource options.*per-task options
361+
\
362+
--tasks-per-core=1 \
363+
==must specify node or core count with per_resource
364+
\
365+
--tasks-per-node=1 \
366+
==must specify node or core count with per_resource
361367
EOF
362368

363369
while read line; do

0 commit comments

Comments
 (0)