Files
ostree/tests
Jonathan Lebon 7835fcdc68 test-pull-untrusted.sh: always corrupt a regular file, not a symlink
test-pull-untrusted.sh would pass when run as root, but fail when run
as testuser. It turned out that the way the files were stored in the
repo when running as a testuser were different, which meant that a
different .file object was chosen for corruption. Except that file
turned out to be a symlink, so the echo "broke" actually just wrote
to the no_such_file symlink target, thus keeping the actual symlink
file's checksum the same and causing the pull-local to pass when it
should have failed.

[smcv: split this out of a larger commit, part of PR #231]
Signed-off-by: Simon McVittie <smcv@debian.org>

Closes: #232
Approved by: cgwalters
2016-03-31 14:22:06 +00:00
..
2015-08-26 12:16:29 -07:00
2016-01-27 11:44:10 -05:00
2016-03-30 03:10:50 +00:00
2016-03-24 16:23:12 +00:00
2016-03-01 10:08:25 -05:00
2016-01-27 11:44:10 -05:00
2016-03-03 18:00:54 -05:00
2015-08-25 09:27:56 -04:00