tests: Fix root uid check in test-commit-sign.sh
This commit is contained in:
1 parent
79e28a13a3
commit
a1352fec9d
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user