243
|
1 |
#!/bin/sh
|
|
2 |
###set -e
|
|
3 |
|
|
4 |
trap "exit" INT
|
|
5 |
|
332
|
6 |
files=${1:-assignment2019scala-*/Part8}
|
243
|
7 |
|
|
8 |
for sd in $files; do
|
|
9 |
cd $sd
|
|
10 |
echo $sd
|
332
|
11 |
sleep 5
|
243
|
12 |
touch .
|
332
|
13 |
cp ../../../../../marking3/knight2_test.sh .
|
|
14 |
cp ../../../../../marking3/knight1_test4.scala .
|
|
15 |
cp ../../../../../marking3/knight1_test5.scala .
|
|
16 |
cp ../../../../../marking3/knight2_test6.scala .
|
|
17 |
cp ../../../../../marking3/knight2_test7.scala .
|
|
18 |
cp ../../../../../marking3/knight2_test8.scala .
|
|
19 |
cp ../../../../../marking3/knight3_test9.scala .
|
|
20 |
./knight2_test.sh output
|
|
21 |
rm knight2_test.sh
|
|
22 |
rm knight1_test4.scala
|
|
23 |
rm knight1_test5.scala
|
|
24 |
rm knight2_test6.scala
|
|
25 |
rm knight2_test7.scala
|
|
26 |
rm knight2_test8.scala
|
|
27 |
rm knight3_test9.scala
|
|
28 |
cd ..
|
243
|
29 |
cd ..
|
|
30 |
done
|
|
31 |
|
|
32 |
|