summaryrefslogtreecommitdiff
path: root/tests/test-basic-user.sh
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2018-12-04 09:37:20 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-12-04 20:38:41 +0000
commitdc2a7de2170aa35c33c9e767532f94be7f6f32c0 (patch)
tree372ddc98f3764e8f957bcdd947dd0231039a68c0 /tests/test-basic-user.sh
parentc515c69d484f37be7d407dbcdaae10f6810b266b (diff)
downloadostree-dc2a7de2170aa35c33c9e767532f94be7f6f32c0.tar.gz
lib/commit: Try checksum+hardlink for untrusted local same-uid repos
This mainly helps flatpak for enabling a hardlink-able local pull during deploy in the --system case. We assume the files are immutable when owned by the same uid. See https://github.com/ostreedev/ostree/issues/1723 and https://github.com/flatpak/flatpak/pull/2342 Closes: #1776 Approved by: uajain
Diffstat (limited to 'tests/test-basic-user.sh')
-rwxr-xr-xtests/test-basic-user.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test-basic-user.sh b/tests/test-basic-user.sh
index 7bdb6a0c..e56f828a 100755
--- a/tests/test-basic-user.sh
+++ b/tests/test-basic-user.sh
@@ -25,7 +25,8 @@ set -euo pipefail
skip_without_user_xattrs
-setup_test_repository "bare-user"
+mode="bare-user"
+setup_test_repository "$mode"
extra_basic_tests=6
. $(dirname $0)/basic-test.sh