diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-29 01:10:19 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-06-29 13:05:09 +0100 |
commit | 201155aecbec9c8a0db08bcf24ccc0fdb7989882 (patch) | |
tree | e98328ffb223af50cc7829e53be34d12a6e6dc04 /tests/setup | |
parent | 11df5f29559f788b431879de6300ff973d1287e1 (diff) |
test suite: baredebian setup, and a skeleton to run it
The baredebian-push test will be fleshed out in a moment.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/setup')
-rwxr-xr-x | tests/setup/baredebian | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/setup/baredebian b/tests/setup/baredebian new file mode 100755 index 0000000..8e09178 --- /dev/null +++ b/tests/setup/baredebian @@ -0,0 +1,34 @@ +#!/bin/bash +set -e +. tests/lib +. $troot/lib-gdr + +t-dependencies GDR DEBORIG + +t-archive-none example +t-git-none + +t-gdr-gbp-import-core-with-queue + +git-deborig + +for b in \ + patch-queue/quilt-tip \ + gitish-only \ + quilt-tip-1.1 \ + quilt-tip-2 \ + indep-arch \ +; do + git branch -D $b +done + +git rm -rf . # yikes +git checkout HEAD -- debian +t=$(git write-tree) +t=$(git commit-tree -m 'Convert to bare debian' $t) +git reset --hard $t + +t-setup-done '' "$(echo $p*) git mirror aq" ' + t-select-package example + t-git-next-date +' |