We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa66d8 commit 0a79256Copy full SHA for 0a79256
tests/run_test_setup.bash
@@ -1,5 +1,5 @@
1
#!/bin/bash
2
-# test_setup.bash
+# run_test_setup.bash
3
4
# Exit immediately if a command exits with a non-zero status.
5
set -e
@@ -14,7 +14,8 @@ export -f sbatch
14
slurm_wait() { :; }
15
moo_wait() { :; }
16
sacct() { echo ""; }
17
-export -f slurm_wait moo_wait sacct
+squeue() { echo "P$$"; } # Add this new mock function
18
+export -f slurm_wait moo_wait sacct squeue
19
20
# Function to set up the temporary environment for a test
21
function setup_test_env() {
0 commit comments