tests: Fix root uid check in test-commit-sign.sh
This commit is contained in:
parent
79e28a13a3
commit
a1352fec9d
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue