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

This commit is contained in:
Matthew Barnes committed 2015-04-14 08:53:48 -04:00
1 parent 79e28a13a3
commit a1352fec9d
1 file changed
+1 -1
+1 -1
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