From 19dd1d2b4037f4727aacf63cd080796425be5bf8 Mon Sep 17 00:00:00 2001 From: "Mark A. Grondona" Date: Sat, 5 May 2018 13:47:33 +0000 Subject: [PATCH] t2000-wreck: fix ngpus tests Somehow the ngpus tests in t2000-wreck.t were prefixed with a '+' and more concerning, this just caused the tests to be skipped. Remove the stray character and fix one of the tests. --- t/t2000-wreck.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 \