mirror of
https://gitlab.com/manzerbredes/esds.git
synced 2025-04-07 02:26:28 +02:00
Update run.sh
This commit is contained in:
parent
f924c939ef
commit
d9fb7fc2e3
1 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ do
|
||||||
# Ensure timeout
|
# Ensure timeout
|
||||||
if [ $? -eq 124 ]
|
if [ $? -eq 124 ]
|
||||||
then
|
then
|
||||||
echo -e "${RED}${BOLD}failed${NC}"
|
printf "${RED}${BOLD}failed${NC}\n"
|
||||||
echo "------------- Test timeout (should not exceed ${test_timeout}s) -------------"
|
echo "------------- Test timeout (should not exceed ${test_timeout}s) -------------"
|
||||||
cat "$out";
|
cat "$out";
|
||||||
rm "$out"
|
rm "$out"
|
||||||
|
@ -31,9 +31,9 @@ do
|
||||||
# Ensure test output
|
# Ensure test output
|
||||||
if [ "$(base64 $out)" = "$(base64 ./out)" ]
|
if [ "$(base64 $out)" = "$(base64 ./out)" ]
|
||||||
then
|
then
|
||||||
echo -e "${GREEN}${BOLD}passed${NC}"
|
printf "${GREEN}${BOLD}passed${NC}\n"
|
||||||
else
|
else
|
||||||
echo -e "${RED}${BOLD}failed${NC}"
|
printf "${RED}${BOLD}failed${NC}\n"
|
||||||
echo "------------- Expected -------------"
|
echo "------------- Expected -------------"
|
||||||
cat out
|
cat out
|
||||||
echo "------------- Got -------------"
|
echo "------------- Got -------------"
|
||||||
|
|
Loading…
Add table
Reference in a new issue