Skip to content

Commit ffc855d

Browse files
committed
Added * after [[space]] to ensure it also matches when there is no space
1 parent 8dd1b76 commit ffc855d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/run_tutorial_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@ for t in */tests.txt; do
8383
(
8484
cd scripts
8585
cat "$script" |
86-
sed 's/generations[[:space:]]=[[:space:]][0-9]*/generations=1/g' |
86+
sed 's/generations[[:space:]]*=[[:space:]]*[0-9]*/generations=1/g' |
8787
sed 's/rules[[:space:]]*=[[:space:]]*[^,]*/generations=1/g' |
8888
sed 's/^n_gen *= *[0-9]*/n_gen = 1/' |
8989
sed 's/\.burnin([0-9][0-9]*/.burnin(1/' |
9090
sed 's/\.run([0-9][0-9]*/.run(1/' |
91-
sed 's/checkpointInterval=[0-9]*/checkpointInterval=1/g' > "cp_$script"
91+
sed 's/checkpointInterval[[:space:]]*=[[:space:]]*[0-9]*/checkpointInterval=1/g' > "cp_$script"
9292
)
9393
${rb_exec} -b scripts/cp_$script &> "output/${script%.[Rr]ev}.errout"
9494
script_result="$?"

0 commit comments

Comments
 (0)