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/tests | |
parent | fc2d3815545ae444fa8037021b12d85812a6f75b (diff) |
Test suite: Test quilt single-debian-patch
Diffstat (limited to 'tests/tests')
-rwxr-xr-x | tests/tests/quilt-singlepatch | 39 |
1 files changed, 39 insertions, 0 deletions
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. |