diff --git a/t/t2000-wreck.t b/t/t2000-wreck.t index 1db2f353fddf..f27576cfbb8a 100755 --- a/t/t2000-wreck.t +++ b/t/t2000-wreck.t @@ -210,18 +210,18 @@ test_expect_success 'wreckrun: -t2 -N${SIZE} sets correct ntasks in kvs' ' test "$n" = $((${SIZE}*2)) ' -+test_expect_success 'wreckrun: ngpus is 0 by default' ' +test_expect_success 'wreckrun: ngpus is 0 by default' ' flux wreckrun -n 2 /bin/true && LWJ=$(last_job_path) && n=$(flux kvs get --json ${LWJ}.ngpus) && test "$n" = "0" ' -+test_expect_success 'wreckrun: -g, --ngpus sets ngpus in kvs' ' +test_expect_success 'wreckrun: -g, --ngpus sets ngpus in kvs' ' flux wreckrun -n 2 -g 4 /bin/true && LWJ=$(last_job_path) && n=$(flux kvs get --json ${LWJ}.ngpus) && - test "$n" = "4" + test "$n" = "8" ' test_expect_success 'wreckrun: job with more nodes than tasks fails' ' test_must_fail flux wreckrun -n2 \