diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-09-06 21:01:59 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-09-06 22:15:09 +0100 |
commit | 8251b0c7789ced262feff086e5bee0fb0eb4e8b0 (patch) | |
tree | d33e91b99c5149efcbdb8eddc1a75058fd97bad2 /tests | |
parent | 9b22c0de92ec58e5469d789c3d875098e2a82924 (diff) |
test suite: Check that archive skew machinery succeeds
This is actually the point of this test case.
perling $tmp/aq/package... is a bit of a bodge, but fine.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/clone-skew | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tests/clone-skew b/tests/tests/clone-skew index cedcf1f..39fcb41 100755 --- a/tests/tests/clone-skew +++ b/tests/tests/clone-skew @@ -15,6 +15,14 @@ t_archive_ln_s=cp t-archive example 1.0-1 t-git-none +perl -i -ne ' + print or die $!; + s/1.0-1/1.0-1+0.1/g; + s/ \w/ sprintf " %x", $& ^ 1 /e; + print or die $!; +' $tmp/aq/package.sid.$p +t-aq-archive-updated sid $p + t-dgit clone $p cd $p |