]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Copy orig. scenario of test simple scenario script
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 13:27:31 +0000 (14:27 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Wed, 19 Jan 2022 13:27:32 +0000 (14:27 +0100)
scripts/test_simple_scenarios.sh

index 2007bed98fa86ff87c770c10c9db358aa0edb911..df5de4f10ae1321ffa505fd470d670ff43451cdd 100644 (file)
@@ -38,6 +38,7 @@ cnt=0
 while [ $cnt -lt $count ]
 do
         python3 ../scripts/generate_simple_json_scenario.py > t
+        cp t ${results}_t/t_$cnt
         rcnt=0
         while [ $rcnt -lt $rcount ]
         do
@@ -48,6 +49,5 @@ do
             done
             rcnt=$(($rcnt + 1))
         done
-        mv t ${results}_t/t_$cnt
         cnt=$(( $cnt + 1 ))
 done