aboutsummaryrefslogtreecommitdiff
path: root/test_pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-04 12:23:41 +0100
committerLoïc Minier <lool@dooz.org>2010-01-04 12:23:41 +0100
commita81bf5c2b08cab1d83407fd3f96997eac5aee7fd (patch)
tree61b4a297e2d3cb132fb1b6721acfbc3e4cc70c47 /test_pbuilder-satisfydepends-funcs
parent6ee013a4bcf18b17300f50109cc6dda9c3526e66 (diff)
downloadpbuilder-a81bf5c2b08cab1d83407fd3f96997eac5aee7fd.tar
pbuilder-a81bf5c2b08cab1d83407fd3f96997eac5aee7fd.tar.gz
Rename CONTROL to DEBIAN_CONTROL
test_pbuilder-satisfydepends-funcs: Rename CONTROL to DEBIAN_CONTROL as to use the same var for all get_control_re calls.
Diffstat (limited to 'test_pbuilder-satisfydepends-funcs')
-rwxr-xr-xtest_pbuilder-satisfydepends-funcs8
1 files changed, 4 insertions, 4 deletions
diff --git a/test_pbuilder-satisfydepends-funcs b/test_pbuilder-satisfydepends-funcs
index 1cf2dc6..b961367 100755
--- a/test_pbuilder-satisfydepends-funcs
+++ b/test_pbuilder-satisfydepends-funcs
@@ -7,8 +7,8 @@
test_get_control_re() {
# TODO move to build dir
- CONTROL=$(tempfile)
- cat <<EOF > "$CONTROL"
+ DEBIAN_CONTROL=$(tempfile)
+ cat <<EOF > "$DEBIAN_CONTROL"
Source: amule
XXXX:
Build-Depends:
@@ -27,8 +27,8 @@ Desctiption: test
other things
wow
EOF
- get_control_re "$CONTROL" "build-(depends|depends-indep)"
- rm -f "$CONTROL"
+ get_control_re "$DEBIAN_CONTROL" "build-(depends|depends-indep)"
+ rm -f "$DEBIAN_CONTROL"
}
expect_output " autotools-dev, debhelper, quilt, libwxgtk2.8-dev
test, test1, test2, test3 | test4, test5" test_get_control_re