We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6c6269 commit 2111d33Copy full SHA for 2111d33
test/gidmapping.sh
@@ -3,8 +3,8 @@
3
TRY_TOP="${TRY_TOP:-$(git rev-parse --show-toplevel --show-superproject-working-tree)}"
4
TRY="$TRY_TOP/try"
5
6
-control=$(id -G)
7
-testing=$("$TRY" id -G 2>/dev/null)
+control=$(id -Gn)
+testing=$("$TRY" -n id -Gn 2>/dev/null)
8
9
if [ "$control" = "$testing" ]
10
then
test/uidmapping.sh
-control=$(id)
-testing=$(sudo "$TRY" -u "$USER" id)
+control=$(id -un)
+testing=$(sudo "$TRY" -n -u "$USER" id -un)
0 commit comments