marking3/mk
changeset 243 9bb36426c781
child 326 e5453add7df6
equal deleted inserted replaced
242:e6b34f617915 243:9bb36426c781
       
     1 #!/bin/sh
       
     2 ###set -e
       
     3 
       
     4 trap "exit" INT
       
     5 
       
     6 files=${1:-assignment20188-*}
       
     7 
       
     8 for sd in $files; do
       
     9   cd $sd
       
    10   echo $sd
       
    11   touch .
       
    12   cp ../../../marking3/knight1_test.sh .
       
    13   cp ../../../marking3/knight1_test1.scala .
       
    14   cp ../../../marking3/knight1_test2.scala .
       
    15   cp ../../../marking3/knight1_test3a.scala .
       
    16   cp ../../../marking3/knight1_test3b.scala .
       
    17   cp ../../../marking3/knight1_test4.scala .
       
    18   cp ../../../marking3/knight1_test5.scala .
       
    19   ./knight1_test.sh output
       
    20   rm knight1_test.sh
       
    21   rm knight1_test1.scala
       
    22   rm knight1_test2.scala
       
    23   rm knight1_test3a.scala 
       
    24   rm knight1_test3b.scala
       
    25   rm knight1_test4.scala
       
    26   rm knight1_test5.scala
       
    27   cd ..
       
    28 done
       
    29 
       
    30