From 4b8a0f3f3dcf60dac2ce308ea08d413a535af29f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:12:14 +0200 Subject: Adding upstream version 5.4.4. Signed-off-by: Daniel Baumann --- tests/updatecorners.test | 176 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) create mode 100644 tests/updatecorners.test (limited to 'tests/updatecorners.test') diff --git a/tests/updatecorners.test b/tests/updatecorners.test new file mode 100644 index 0000000..ee6f905 --- /dev/null +++ b/tests/updatecorners.test @@ -0,0 +1,176 @@ +set -u +. "$TESTSDIR"/test.inc + +# test some corner cases in updating: +# IgnoreInRelease, force, errors, resuming... + +mkdir -p conf test/dists/a/c/source test/test lists + +echo "test" > test/test/test.dsc +echo "fake-gz-file" > test/test/test.tar.gz + +cat >test/dists/a/c/source/Sources < test/dists/a/InRelease <conf/distributions <conf/updates <>conf/updates <> conf/updates + +testrun - -b . update 3<