From cdbf0b43ce179a6ab160830293cb737b2d4cf957 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 16 Jul 2017 12:31:49 +0100 Subject: test suite: Introduce example 1.1 orig containg some interesting objects We are going to want to test alternation/deletion of symlinks and non-644 files. To test this we need to switch to using example_1.1.orig.tar.gz (and the corresponding git branch in the worktree), so that we have such existing objects. Signed-off-by: Ian Jackson --- tests/pkg-srcs/example_1.1.orig.tar.gz | Bin 0 -> 404 bytes tests/tests/unrepresentable | 4 ++-- tests/worktrees/example_1.0.tar | Bin 122880 -> 133120 bytes tests/worktrees/example_1.1.tar | 1 + 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/pkg-srcs/example_1.1.orig.tar.gz create mode 120000 tests/worktrees/example_1.1.tar diff --git a/tests/pkg-srcs/example_1.1.orig.tar.gz b/tests/pkg-srcs/example_1.1.orig.tar.gz new file mode 100644 index 0000000..d975490 Binary files /dev/null and b/tests/pkg-srcs/example_1.1.orig.tar.gz differ diff --git a/tests/tests/unrepresentable b/tests/tests/unrepresentable index 0d02c6a..621829e 100755 --- a/tests/tests/unrepresentable +++ b/tests/tests/unrepresentable @@ -4,13 +4,13 @@ set -e t-tstunt-parsechangelog -t-prep-newpackage example 1.0 +t-prep-newpackage example 1.1 ln -s $troot/pkg-srcs/${p}_${v%-*}.orig.tar.* . cd $p -start () { git checkout quilt-tip~0; } +start () { git checkout quilt-tip-1.1~0; } attempt () { t-dgit -wgf --quilt=smash quilt-fixup; } badly-1 () { diff --git a/tests/worktrees/example_1.0.tar b/tests/worktrees/example_1.0.tar index 50baa33..3a07a64 100644 Binary files a/tests/worktrees/example_1.0.tar and b/tests/worktrees/example_1.0.tar differ diff --git a/tests/worktrees/example_1.1.tar b/tests/worktrees/example_1.1.tar new file mode 120000 index 0000000..6acd590 --- /dev/null +++ b/tests/worktrees/example_1.1.tar @@ -0,0 +1 @@ +example_1.0.tar \ No newline at end of file -- cgit v1.2.3