diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-23 18:47:40 +0100 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-10-30 10:48:48 +0000 |
commit | 40a79224717635cfa28f18bb38ec96d4c8b28076 (patch) | |
tree | b177e475c2b6f03f371caf5a569e596a360f44fb /tests/cachekey/cachekey.py | |
parent | c0d080f32be44df9ebe1861c823d5ab41032b87b (diff) | |
download | buildstream-traveltissues/1161.tar.gz |
local.py: use extended API, set BST_NO_PRESTAGE_KEYtraveltissues/1161
tests:
* local sources are cached
* use git sources instead of local when removing objects
* update expected cache keys
Diffstat (limited to 'tests/cachekey/cachekey.py')
-rw-r--r-- | tests/cachekey/cachekey.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cachekey/cachekey.py b/tests/cachekey/cachekey.py index acfe97947..265c8a27b 100644 --- a/tests/cachekey/cachekey.py +++ b/tests/cachekey/cachekey.py @@ -167,6 +167,9 @@ def test_cache_key(datafiles, cli): 'usr', 'bin', 'goodbye') os.unlink(goodbye_link) os.symlink('hello', goodbye_link) + # pytest-datafiles does not copy mode bits + # https://github.com/omarkohl/pytest-datafiles/issues/11 + os.chmod(goodbye_link, 0o755) result = cli.run(project=project, silent=True, args=[ 'show', |