diff options
author | Colin Walters <walters@verbum.org> | 2017-10-13 18:14:17 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-10-17 15:20:08 +0000 |
commit | 95afe2848d65a8062f4a76adb1ab80b6bcc4d79e (patch) | |
tree | 1cca3ed5ef9a1f8e092bd9e290e487d563fb736e /tests/test-pull-bareuseronly.sh | |
parent | 464965e6b4897f9c6d4487ca10eb5bc60ad9a670 (diff) | |
download | ostree-95afe2848d65a8062f4a76adb1ab80b6bcc4d79e.tar.gz |
tests: Add test-pull-bareuseronly
I was going to fix a bug in the static deltas code and I noticed
we were missing `pull-test.sh` coverage for bareuseronly 🙈.
Obviously fixing this requires duplicating some of the bits we have in
`basic-test.sh`; need to hoist that into `libtest.sh`. For now though let's get
the coverage.
Closes: #1270
Approved by: jlebon
Diffstat (limited to 'tests/test-pull-bareuseronly.sh')
-rwxr-xr-x | tests/test-pull-bareuseronly.sh | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-pull-bareuseronly.sh b/tests/test-pull-bareuseronly.sh new file mode 100755 index 00000000..f5c06c4d --- /dev/null +++ b/tests/test-pull-bareuseronly.sh @@ -0,0 +1,28 @@ +#!/bin/bash +# +# Copyright (C) 2017 Colin Walters <walters@verbum.org> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +set -euo pipefail + +. $(dirname $0)/libtest.sh + +skip_without_user_xattrs +setup_fake_remote_repo1 "archive" "--canonical-permissions" + +repo_mode=bare-user-only +. ${test_srcdir}/pull-test.sh |