tests: Fix root uid check in test-commit-sign.sh

This commit is contained in:
Matthew Barnes 2015-04-14 08:53:48 -04:00
parent 79e28a13a3
commit a1352fec9d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fi
# Skip the test when non-root as gpgme would not read files owned by
# another user.
if test "$(id -i)" != "0"; then
if test "$(id -u)" != "0"; then
exit 77
fi