]> git.saurik.com Git - apt.git/blobdiff - test/libapt/apt-proxy-script
Do not read stderr from proxy autodetection scripts
[apt.git] / test / libapt / apt-proxy-script
diff --git a/test/libapt/apt-proxy-script b/test/libapt/apt-proxy-script
new file mode 100755 (executable)
index 0000000..41cfdc3
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ $1 = "http://www.debian.org:90/temp/test" ]; then
+    echo "http://example.com"
+fi
+if [ $1 = "http://www.debian.org:91/temp/test" ]; then
+    echo "This works" >&2
+    echo "http://example.com/foo"
+fi