diff options
author | Loïc Minier <lool@dooz.org> | 2009-12-12 12:05:56 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2009-12-12 12:05:56 +0100 |
commit | 9252a478b47da970876cd0c827b100ba112395cd (patch) | |
tree | 0b829f35405301b754dff951ecc6dcda287979b0 /test_pbuilder-satisfydepends-funcs | |
parent | 70d67648141b9669e31bd2c5864a3fa7546552d8 (diff) | |
download | pbuilder-9252a478b47da970876cd0c827b100ba112395cd.tar pbuilder-9252a478b47da970876cd0c827b100ba112395cd.tar.gz |
Remove tempfile at the end; should be in builddir
Remove tempfile at the end of the test helper function; add note that it
should really be created in the build dir instead
Diffstat (limited to 'test_pbuilder-satisfydepends-funcs')
-rwxr-xr-x | test_pbuilder-satisfydepends-funcs | 2 |
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 |