diff options
-rwxr-xr-x | pbuilder-satisfydepends-funcs | 1 | ||||
-rwxr-xr-x | test_pbuilder-satisfydepends-funcs | 8 |
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 |