Skip to content

Commit 3960e7b

Browse files
fix regex for time mission 7
1 parent 5806fd6 commit 3960e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • missions/slurm/07_submitscript_resources

missions/slurm/07_submitscript_resources/check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
KO=0
44

5-
if ! grep -- "--time[= ](0-)?(00:)?10:00" $GSH_HOME/testjob/submit.sh &>/dev/null
5+
if ! grep -- "--time[= ]\(0-\)\?\(\00:00\)\?10:00" $GSH_HOME/testjob/submit.sh &>/dev/null
66
then
77
echo "The time specification is not correct."
88
KO=1

0 commit comments

Comments
 (0)