aboutsummaryrefslogtreecommitdiff
path: root/test_pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
Diffstat (limited to 'test_pbuilder-satisfydepends-funcs')
-rwxr-xr-xtest_pbuilder-satisfydepends-funcs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_pbuilder-satisfydepends-funcs b/test_pbuilder-satisfydepends-funcs
index a2e8fd1..1cf2dc6 100755
--- a/test_pbuilder-satisfydepends-funcs
+++ b/test_pbuilder-satisfydepends-funcs
@@ -6,6 +6,7 @@
# testsuite to test pbuilder-satisfydepends-checkparams.
test_get_control_re() {
+ # TODO move to build dir
CONTROL=$(tempfile)
cat <<EOF > "$CONTROL"
Source: amule
@@ -27,6 +28,7 @@ Desctiption: test
wow
EOF
get_control_re "$CONTROL" "build-(depends|depends-indep)"
+ rm -f "$CONTROL"
}
expect_output " autotools-dev, debhelper, quilt, libwxgtk2.8-dev
test, test1, test2, test3 | test4, test5" test_get_control_re