aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@netfort.gr.jp>2009-03-13 22:22:12 +0900
committerJunichi Uekawa <dancer@netfort.gr.jp>2009-03-13 22:22:12 +0900
commitaa80657c561580daf6bb00436e0f6832e1e95dea (patch)
tree5338f0ca1cebaecf0b2de194517b7fe45ce2bc48
parent291a07da4a44f3ac9ba58f39040967db98fd78dc (diff)
downloadpbuilder-aa80657c561580daf6bb00436e0f6832e1e95dea.tar
pbuilder-aa80657c561580daf6bb00436e0f6832e1e95dea.tar.gz
expand test and add comments for get_control_re.
-rwxr-xr-xpbuilder-satisfydepends-funcs1
-rwxr-xr-xtest_pbuilder-satisfydepends-funcs8
2 files changed, 7 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs
index bdbe0b1..f431880 100755
--- a/pbuilder-satisfydepends-funcs
+++ b/pbuilder-satisfydepends-funcs
@@ -51,6 +51,7 @@ function checkbuilddep_versiondeps () {
}
get_control_re() {
+ # output the field which matches RE of control file in stdout.
control="$1"
re="$2"
diff --git a/test_pbuilder-satisfydepends-funcs b/test_pbuilder-satisfydepends-funcs
index a245fc7..25b807d 100755
--- a/test_pbuilder-satisfydepends-funcs
+++ b/test_pbuilder-satisfydepends-funcs
@@ -16,7 +16,9 @@ Build-Depends:
quilt,
##
libwxgtk2.8-dev,
-Build-Depends-Indep: test, test1
+Build-Depends-Indep: test, test1,
+ test2, test3 |
+ test4, test5
Desctiption: test
other things
wow
@@ -28,6 +30,8 @@ expect_output "
debhelper,
quilt,
libwxgtk2.8-dev,
- test, test1" test_get_control_re
+ test, test1,
+ test2, test3 |
+ test4, test5" test_get_control_re
testlib_summary