第一关代码
This commit is contained in:
parent
c26024b4e2
commit
fd19dd6ea2
|
@ -2,10 +2,10 @@
|
|||
|
||||
ls
|
||||
|
||||
sh code.sh >> result.txt
|
||||
sh answer.sh >> answer.txt
|
||||
sh case1/code.sh >> result.txt
|
||||
sh case1/answer.sh >> answer.txt
|
||||
|
||||
diff result.txt answer.txt > /dev/null
|
||||
if [ $? = 0 ]; then
|
||||
sh code.sh
|
||||
sh case1/code.sh
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue