[Surfraw-commits] [surfraw] 01/01: Fixed tests for cisco, ddg, excite & javasun and updated URLS for cisco and netbsd

jason ryan jasonwryan-guest at alioth.debian.org
Sun Aug 4 23:56:10 UTC 2013


This is an automated email from the git hooks/post-receive script.

jasonwryan-guest pushed a commit to branch 2.2.9_release_candidate
in repository surfraw.

commit 9a27abb3347b1fe06138a7aac9d341f7036dd4bf
Author: Jason Ryan <jasonwryan at gmail.com>
Date:   Mon Aug 5 11:54:33 2013 +1200

    Fixed tests for cisco, ddg, excite & javasun
    and updated URLS for cisco and netbsd
---
 elvi/cisco           |    3 ++-
 elvi/netbsd          |    2 +-
 test/cisco.test      |    2 +-
 test/duckduckgo.test |    2 +-
 test/excite.test     |    2 +-
 test/javasun.test    |    2 +-
 6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/elvi/cisco b/elvi/cisco
index 886db02..10994dc 100755
--- a/elvi/cisco
+++ b/elvi/cisco
@@ -20,5 +20,6 @@ if test -z "$w3_args"; then
     w3_browse_url "http://tools.cisco.com/"
 else
     escaped_args=`w3_url_of_arg $w3_args`
-    w3_browse_url "http://tools.cisco.com/search/JSP/search-results.get?strQueryText=${escaped_args}&Search+All+cisco.com=cisco.com"
+#    w3_browse_url "http://tools.cisco.com/search/JSP/search-results.get?strQueryText=${escaped_args}&Search+All+cisco.com=cisco.com"
+	w3_browse_url "http://tools.cisco.com/search/results/en/us/get#q=${escaped_args}"
 fi
diff --git a/elvi/netbsd b/elvi/netbsd
index 93fcbbf..875a9eb 100755
--- a/elvi/netbsd
+++ b/elvi/netbsd
@@ -67,7 +67,7 @@ if ok SURFRAW_netbsd_pr; then
     if test -z "$escaped_args"; then
         w3_browse_url "http://www.netbsd.org/Misc/query-pr.html"
     else
-        w3_browse_url "http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=${escaped_args}"
+        w3_browse_url "http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=${escaped_args}"
     fi
     exit $?
 fi
diff --git a/test/cisco.test b/test/cisco.test
index aee6e49..df74e11 100644
--- a/test/cisco.test
+++ b/test/cisco.test
@@ -1,2 +1,2 @@
 cisco netflow
-Cisco IOS.*NetFlow
+Cisco IOS*NetFlow
diff --git a/test/duckduckgo.test b/test/duckduckgo.test
index 580e360..aa535e0 100644
--- a/test/duckduckgo.test
+++ b/test/duckduckgo.test
@@ -1,3 +1,3 @@
 duckduckgo foo
-foobar
+Urban Dictionary
 
diff --git a/test/excite.test b/test/excite.test
index 260105d..08ef426 100644
--- a/test/excite.test
+++ b/test/excite.test
@@ -1,2 +1,2 @@
 excite foo
-Bunny Foo Foo
+Wikipedia
diff --git a/test/javasun.test b/test/javasun.test
index 97f957a..f8a9da5 100644
--- a/test/javasun.test
+++ b/test/javasun.test
@@ -1,2 +1,2 @@
 javasun FileInputStream
-getChannel
+Java Platform SE 6

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git



More information about the Surfraw-commits mailing list