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-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2015-08-26 12:16:29 -07:00
2016-03-31 14:22:06 +00:00
2016-01-27 11:44:10 -05:00
2016-03-30 03:10:50 +00:00
2014-10-22 20:02:06 +02:00
2015-05-28 14:21:30 -04:00
2016-03-03 21:56:23 -05:00
2016-03-03 21:56:23 -05:00
2016-03-31 14:22:06 +00:00
2012-06-21 18:05:13 -04:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2016-03-03 08:50:19 -05:00
2015-06-04 18:56:31 -04:00
2015-05-28 14:21:30 -04:00
2016-03-24 16:23:12 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 21:56:23 -05:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2016-03-18 12:08:19 -04:00
2016-03-31 14:22:06 +00:00
2013-09-18 16:34:57 -04:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2016-03-31 14:22:06 +00:00
2016-03-01 10:08:25 -05:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2015-05-06 22:07:11 -04:00
2016-03-21 13:02:49 -04:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2015-10-13 15:24:09 +02:00
2015-05-06 22:07:11 -04:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2015-05-06 22:07:11 -04:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-03 18:00:54 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 14:22:06 +00:00
2016-01-27 11:44:10 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 14:22:06 +00:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2016-01-27 11:44:10 -05:00
2016-03-31 14:22:06 +00:00
2015-08-24 11:07:36 +02:00
2015-08-25 09:27:56 -04:00
2016-03-03 08:50:19 -05:00
2013-10-19 11:56:51 -04:00
2016-03-03 21:56:23 -05:00
2016-03-03 08:50:19 -05:00
2015-05-06 22:07:11 -04:00
2016-03-31 14:22:06 +00:00