diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-08-21 16:40:37 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-01 23:53:44 +0100 |
commit | e1835188573be155d122a12fe99bb2ca6e0d4040 (patch) | |
tree | 0c09eba6ef36fa79fc54034292dea4d543d282ad /tests | |
parent | fc2d3815545ae444fa8037021b12d85812a6f75b (diff) |
Test suite: Test quilt single-debian-patch
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.debian.tar.gz | bin | 0 -> 5182 bytes | |||
-rw-r--r-- | tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.dsc | 22 | ||||
-rw-r--r-- | tests/pkg-srcs/sunxi-tools_1.2.orig.tar.gz | bin | 0 -> 35076 bytes | |||
-rwxr-xr-x | tests/tests/quilt-singlepatch | 39 |
4 files changed, 61 insertions, 0 deletions
diff --git a/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.debian.tar.gz b/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.debian.tar.gz Binary files differnew file mode 100644 index 0000000..c376961 --- /dev/null +++ b/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.debian.tar.gz diff --git a/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.dsc b/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.dsc new file mode 100644 index 0000000..e0161cd --- /dev/null +++ b/tests/pkg-srcs/sunxi-tools_1.2-2.~~dgittest.dsc @@ -0,0 +1,22 @@ +Format: 3.0 (quilt) +Source: sunxi-tools +Binary: sunxi-tools +Architecture: any +Version: 1.2-2.~~dgittest +Maintainer: Ian Campbell <ijc@hellion.org.uk> +Homepage: http://linux-sunxi.org/Sunxi-tools +Standards-Version: 3.9.5 +Vcs-Browser: http://git.debian.org/?p=collab-maint/sunxi-tools.git +Vcs-Git: git://git.debian.org/collab-maint/sunxi-tools.git +Build-Depends: debhelper (>= 9), pkg-config, libusb-1.0-0-dev, u-boot-tools +Package-List: + sunxi-tools deb utils optional +Checksums-Sha1: + 2457216dbbf5552c413753f7211f7be3db6aff54 35076 sunxi-tools_1.2.orig.tar.gz + 6f30698cd897b350a4f92b2b5dded69adca6f82e 5182 sunxi-tools_1.2-2.~~dgittest.debian.tar.gz +Checksums-Sha256: + 03a63203ff79389e728d88ad705e546aa6362a6d08b9901392acb8639998ef95 35076 sunxi-tools_1.2.orig.tar.gz + 0a513f3254d245b59aaffbeb5c43159a6461617c1f6f3c6824646c4259cda406 5182 sunxi-tools_1.2-2.~~dgittest.debian.tar.gz +Files: + dbc55f60559f9db497559176c3c753dd 35076 sunxi-tools_1.2.orig.tar.gz + a6ec0eb0d897b0121dc978fc00db2ea6 5182 sunxi-tools_1.2-2.~~dgittest.debian.tar.gz diff --git a/tests/pkg-srcs/sunxi-tools_1.2.orig.tar.gz b/tests/pkg-srcs/sunxi-tools_1.2.orig.tar.gz Binary files differnew file mode 100644 index 0000000..fe397fa --- /dev/null +++ b/tests/pkg-srcs/sunxi-tools_1.2.orig.tar.gz diff --git a/tests/tests/quilt-singlepatch b/tests/tests/quilt-singlepatch new file mode 100755 index 0000000..6a04329 --- /dev/null +++ b/tests/tests/quilt-singlepatch @@ -0,0 +1,39 @@ +#!/bin/bash +set -e +. tests/lib + +t-archive sunxi-tools 1.2-2.~~dgittest +t-git-none + +t-dgit clone $p +cd $p +t-cloned-fetched-good + +echo EXTRA-LINE-1 >>fel.c +echo EXTRA-LINE-2 >>fel.c +echo EXTRA-LINE-3 >>.gitignore + +git add fel.c .gitignore + +t-commit 'commit our stuff' 1.2-3 + +t-dgit -wgf quilt-fixup + +t-refs-same-start +t-ref-head + +t-dgit -wgf build-source + +t-dgit push +t-pushed-good dgit/sid + +diff <<END - debian/patches/series +debian-changes +END + +diff <<END - <(ls debian/patches) +debian-changes +series +END + +echo ok. |