blob: b485abb9e108dabc8c11d45a4d90690ffea43aec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#!/bin/bash
set -e
. tests/lib
. $troot/lib-baredebian
t-dependencies quilt git-debpush
t-debpolicy
t-setup-import baredebian
cd $p
baredebian-test-vars
t-tagupl-settings
baredebian-test-minimum
baredebian-test-core-prepush
sed -i '15icorruption' debian/patches/0002-Edit-the-.c-file.patch
git add debian/patches/0002-Edit-the-.c-file.patch
git commit -m"corrupt a quilt patch to test the patches-applicable check"
tagname=test-dummy/$v
t-expect-fail "'git apply' failed to apply patch 0002-Edit-the-.c-file.patch ('patches-applicable' check)" \
t-tagupl-test --baredebian
git reset --hard HEAD~1
t-tagupl-test --baredebian
git branch split.p dgit/dgit/sid # we didn't generate this here
baredebian-test-core-postpush
t-ok
|