diff options
author | Luca BRUNO <luca.bruno@coreos.com> | 2021-08-17 10:30:06 +0000 |
---|---|---|
committer | Luca BRUNO <luca.bruno@coreos.com> | 2021-08-18 08:16:26 +0000 |
commit | 5a3d5fb86f3d617c0c759c946fff92eec3e2bbad (patch) | |
tree | f5fccaed61f06c749e5ef5984c76e440ca371b85 /tests/basic-test.sh | |
parent | 87db562744cc47610ca2d7212259ded5b0f5fb0d (diff) | |
download | ostree-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.sh | 2 |
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 |