equal
deleted
inserted
replaced
1 #!/bin/sh |
1 #!/bin/sh |
2 ###set -e |
2 ###set -e |
3 |
3 |
4 trap "exit" INT |
4 trap "exit" INT |
5 |
5 |
6 files=${1:-assignment20177-*} |
6 files=${1:-assignment20188-*} |
7 |
7 |
8 for sd in $files; do |
8 for sd in $files; do |
9 cd $sd |
9 cd $sd |
10 echo $sd |
10 echo $sd |
11 touch . |
11 touch . |
12 cp ../../../marking2/knight3_test.sh . |
12 cp ../../../marking3/knight3_test.sh . |
13 cp ../../../marking2/knight3a_test.scala . |
13 cp ../../../marking3/knight_test6.scala . |
14 cp ../../../marking2/knight3b_test.scala . |
14 cp ../../../marking3/knight_test7.scala . |
15 cp ../../../marking2/knight3c_test.scala . |
15 cp ../../../marking3/knight_test8.scala . |
|
16 cp ../../../marking3/knight_test9.scala . |
16 ./knight3_test.sh output |
17 ./knight3_test.sh output |
17 rm knight3_test.sh |
18 rm knight3_test.sh |
18 rm knight3a_test.scala |
19 rm knight_test6.scala |
19 rm knight3b_test.scala |
20 rm knight_test7.scala |
20 rm knight3c_test.scala |
21 rm knight_test8.scala |
|
22 rm knight_test9.scala |
21 cd .. |
23 cd .. |
22 done |
24 done |
23 |
25 |
24 |
26 |