2022-07-12 22:03:18 +02:00
|
|
|
From: Egbert Eich <eich@suse.com>
|
2023-02-23 20:32:51 +01:00
|
|
|
Date: Mon Feb 20 21:35:37 2023 +0100
|
2022-07-12 22:03:18 +02:00
|
|
|
Subject: Fix test 38.11
|
|
|
|
Patch-mainline: Not yet
|
2023-02-23 20:32:51 +01:00
|
|
|
Git-commit: 80c7c8b897fde0c025f695b8301f4cbbc605581d
|
2022-07-12 22:03:18 +02:00
|
|
|
References:
|
|
|
|
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.com>
|
|
|
|
Signed-off-by: Egbert Eich <eich@suse.de>
|
|
|
|
---
|
|
|
|
testsuite/expect/test38.11 | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/testsuite/expect/test38.11 b/testsuite/expect/test38.11
|
2023-02-23 20:32:51 +01:00
|
|
|
index 3d2954f..89e5333 100755
|
2022-07-12 22:03:18 +02:00
|
|
|
--- a/testsuite/expect/test38.11
|
|
|
|
+++ b/testsuite/expect/test38.11
|
2023-02-23 20:32:51 +01:00
|
|
|
@@ -83,9 +83,9 @@ if {$het_job_id == 0} {
|
|
|
|
run_command -fail "$srun -N1 -n1 --het-group=0 mkdir -p $tmp_dir"
|
|
|
|
run_command -fail "$srun -N1 -n1 --het-group=1 mkdir -p $tmp_dir"
|
2022-07-12 22:03:18 +02:00
|
|
|
|
2023-02-23 20:32:51 +01:00
|
|
|
-run_command -fail "$sbcast -f --jobid=$het_job_id $srun $tmp_dir/file"
|
|
|
|
-run_command -fail "$sbcast -f --jobid=${het_job_id}+0 $srun $tmp_dir/file_comp0"
|
|
|
|
-run_command -fail "$sbcast -f --jobid=${het_job_id}+1 $srun $tmp_dir/file_comp1"
|
|
|
|
+run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file"
|
|
|
|
+run_command -fail "$sbcast -f --jobid=\$SLURM_JOBID $srun $tmp_dir/file_comp0"
|
|
|
|
+run_command -fail "$sbcast -f --jobid=\$((SLURM_JOBID+1)) $srun $tmp_dir/file_comp1"
|
2022-07-12 22:03:18 +02:00
|
|
|
|
2023-02-23 20:32:51 +01:00
|
|
|
subtest {![run_command_status "$srun -N1 -n1 --het-group=0 ls $tmp_dir/file"]} "Verify main file is in node of component 0"
|
|
|
|
subtest {![run_command_status "$srun -N1 -n1 --het-group=1 ls $tmp_dir/file"]} "Verify main file is in node of component 1"
|