summaryrefslogtreecommitdiff
path: root/tests/basic-test.sh
diff options
context:
space:
mode:
authorLuca BRUNO <luca.bruno@coreos.com>2021-08-17 10:30:06 +0000
committerLuca BRUNO <luca.bruno@coreos.com>2021-08-18 08:16:26 +0000
commit5a3d5fb86f3d617c0c759c946fff92eec3e2bbad (patch)
treef5fccaed61f06c749e5ef5984c76e440ca371b85 /tests/basic-test.sh
parent87db562744cc47610ca2d7212259ded5b0f5fb0d (diff)
downloadostree-5a3d5fb86f3d617c0c759c946fff92eec3e2bbad.tar.gz
builtins/commit: check for conflicting permissions options
This explicitly checks for commit command options asking for both non-zero UID/GID and canonical permissions at the same time, which are incompatible.
Diffstat (limited to 'tests/basic-test.sh')
-rw-r--r--tests/basic-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic-test.sh b/tests/basic-test.sh
index 03f2cb1b..4d1356eb 100644
--- a/tests/basic-test.sh
+++ b/tests/basic-test.sh
@@ -437,7 +437,7 @@ echo "ok user checkout"
$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit" --tree=ref=test2
echo "ok commit from ref"
-$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit with modifier" --tree=ref=test2 --owner-uid=`id -u`
+$OSTREE commit ${COMMIT_ARGS} -b test2 -s "Another commit with modifier" --tree=ref=test2 --owner-uid=0
echo "ok commit from ref with modifier"
$OSTREE commit ${COMMIT_ARGS} -b trees/test2 -s 'ref with / in it' --tree=ref=test2