Skip to content
Snippets Groups Projects
Commit 094f47fa authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix contact deletion check

parent f2924b4b
No related branches found
No related tags found
1 merge request!4Release
1
\ No newline at end of file
...@@ -726,14 +726,20 @@ set -e ...@@ -726,14 +726,20 @@ set -e
echo "TESTS EXITED SUCCESSFULLY, CHECKING OUTPUT..." echo "TESTS EXITED SUCCESSFULLY, CHECKING OUTPUT..."
set +x set +x
diff -aruN clients.goldoutput $CLIENTCLEAN diff -aruN clients.goldoutput $CLIENTCLEAN
cat $CLIENTOUT/client42.log | grep -a "Could not confirm authentication channel for" > results/deleteContact.txt || true cat $CLIENTOUT/client42.log | grep -a "Could not confirm authentication channel" > results/deleteContact.txt || true
echo "CHECKING FOR SUCCESSFUL CONTACT DELETION"
if [ -s results/deleteContact.txt ]
then
echo "CONTACT DELETION SUCCESSFUL"
else
[ -s results/deleteContact.txt ]
fi
if [ "$PERMISSIONING" == "" ] if [ "$PERMISSIONING" == "" ]
then then
#cat $CLIENTOUT/* | strings | grep -e "ERROR" -e "FATAL" > results/client-errors || true #cat $CLIENTOUT/* | strings | grep -e "ERROR" -e "FATAL" > results/client-errors || true
#diff -ruN results/client-errors.txt noerrors.txt #diff -ruN results/client-errors.txt noerrors.txt
diff -ruN results/results/deleteContact.txt deleteContact.gold
cat $SERVERLOGS/server-*.log | grep -a "ERROR" | grep -a -v "context" | grep -av "metrics" | grep -av "database" > results/server-errors.txt || true cat $SERVERLOGS/server-*.log | grep -a "ERROR" | grep -a -v "context" | grep -av "metrics" | grep -av "database" > results/server-errors.txt || true
cat $SERVERLOGS/server-*.log | grep -a "FATAL" | grep -a -v "context" | grep -av "transport is closing" | grep -av "database" >> results/server-errors.txt || true cat $SERVERLOGS/server-*.log | grep -a "FATAL" | grep -a -v "context" | grep -av "transport is closing" | grep -av "database" >> results/server-errors.txt || true
diff -aruN results/server-errors.txt noerrors.txt diff -aruN results/server-errors.txt noerrors.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment