diff options
author | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-02-11 12:11:40 +0900 |
---|---|---|
committer | Junichi Uekawa <dancer@netfort.gr.jp> | 2009-02-11 12:11:40 +0900 |
commit | 1eab1c3ad28f35baf7cadd6e5883018ec6ec7b80 (patch) | |
tree | a8ec1404e16561edd439e35e7d1bca5731a8f77d /test_pbuilder-satisfydepends-funcs | |
parent | 81a5ec1b474c16438daa93e634c911b695d2888f (diff) | |
download | pbuilder-1eab1c3ad28f35baf7cadd6e5883018ec6ec7b80.tar pbuilder-1eab1c3ad28f35baf7cadd6e5883018ec6ec7b80.tar.gz |
Bug#514656: pbuilder: does not handle comments in debian/control correctly
Patch from Adeodato Simo.
Diffstat (limited to 'test_pbuilder-satisfydepends-funcs')
-rwxr-xr-x | test_pbuilder-satisfydepends-funcs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test_pbuilder-satisfydepends-funcs b/test_pbuilder-satisfydepends-funcs new file mode 100755 index 0000000..a245fc7 --- /dev/null +++ b/test_pbuilder-satisfydepends-funcs @@ -0,0 +1,33 @@ +#!/bin/bash + +. ./testlib.sh +. ./pbuilder-satisfydepends-funcs + +# testsuite to test pbuilder-satisfydepends-checkparams. + +test_get_control_re() { + CONTROL=$(tempfile) + cat <<EOF > "$CONTROL" +Source: amule +XXXX: +Build-Depends: + autotools-dev, + debhelper, + quilt, +## + libwxgtk2.8-dev, +Build-Depends-Indep: test, test1 +Desctiption: test + other things + wow +EOF + get_control_re "$CONTROL" "build-(depends|depends-indep)" +} +expect_output " + autotools-dev, + debhelper, + quilt, + libwxgtk2.8-dev, + test, test1" test_get_control_re + +testlib_summary |