Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some test assume the existence of the user daemon with the uid of 1. Skip those if the user doesn't exists.
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash -e | ||
|
||
# skip if uid 1 doesn't exist | ||
getent passwd 1 >/dev/null 2>&1 || exit 77 | ||
|
||
TEST=$(basename $0 | cut -d- -f1) | ||
${MISC_SRCDIR}/memcheck ./tnpsrv >$TEST.out 2>&1 | ||
diff ${MISC_SRCDIR}/$TEST.exp $TEST.out >$TEST.diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters