Enhance test output
This commit is contained in:
10
run
10
run
@@ -1 +1,9 @@
|
||||
java -jar target/PBC4Project-1.0-SNAPSHOT-jar-with-dependencies.jar
|
||||
rm error.log 2> /dev/null
|
||||
java -jar target/PBC4Project-1.0-SNAPSHOT-jar-with-dependencies.jar 2>error.log
|
||||
if [ -s error.log ]
|
||||
then
|
||||
echo "Error in the program"
|
||||
cat error.log
|
||||
else
|
||||
echo "Program executed successfully"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user