summaryrefslogtreecommitdiff
path: root/test/pacman/tests/sync200.py.in
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-08-12 16:45:04 -0400
committerDan McGee <dan@archlinux.org>2011-08-15 06:29:09 -0500
commitce8f91a71b2e5d50fe60baadc0269e6823e8056f (patch)
treef056c46a87eda0f549ff62d7b3bcadea0f383e68 /test/pacman/tests/sync200.py.in
parent6bf60568f8a956c980accdc6ae86c918eee5a881 (diff)
pactest/sync200: check for curl instead of fetch
We can't just check for LIBS as curl won't be listed. Instead, look at the length of the LIBCURL var from the Makefile. Signed-off-by: Dave Reisner <dreisner@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test/pacman/tests/sync200.py.in')
-rw-r--r--test/pacman/tests/sync200.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/tests/sync200.py.in b/test/pacman/tests/sync200.py.in
index c83e9ac7..6e47112d 100644
--- a/test/pacman/tests/sync200.py.in
+++ b/test/pacman/tests/sync200.py.in
@@ -1,6 +1,6 @@
self.description = "Synchronize the local database"
-if not "fetch" in "@LIBS@":
+if len("@LIBCURL@") == 0:
self.option['XferCommand'] = ['/usr/bin/curl %u > %o']
sp1 = pmpkg("spkg1", "1.0-1")