Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions tests/lcov/extract/extract.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set +x

: ${USER:="$(id -u -n)"}

source ../../common.tst

rm -rf *.gcda *.gcno a.out *.info* *.txt* *.json dumper* testRC *.gcov *.gcov.* *.log *.o errs *.msg *.dat
Expand Down Expand Up @@ -217,7 +219,7 @@ if [ 0 != $? ] ; then
fi
fi

grep -E "\"user\":\"$USER\"" context.info.json
grep -F "\"user\":\"$USER\"" context.info.json
if [ 0 != $? ] ; then
echo "Error: did not find expected context field"
if [ $KEEP_GOING == 0 ] ; then
Expand All @@ -241,7 +243,7 @@ if [ 0 != $? ] ; then
fi
fi

grep -E "\"user\":\"$USER\"" context.info.json
grep -F "\"user\":\"$USER\"" context.info.json
if [ 0 != $? ] ; then
echo "Error: did not find expected context field"
if [ $KEEP_GOING == 0 ] ; then
Expand Down