X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhtsn.git;a=blobdiff_plain;f=test%2Fshell%2Fcommand-line-feed-hosts.test;fp=test%2Fshell%2Fcommand-line-feed-hosts.test;h=27b9ebf008107e038ab0a31d26b48050c25b948b;hp=0000000000000000000000000000000000000000;hb=53bcd4803997906549f39447b427a505ba8e1b9d;hpb=dced73db0b1ad1b8cf892041f9921347ab6e992e diff --git a/test/shell/command-line-feed-hosts.test b/test/shell/command-line-feed-hosts.test new file mode 100644 index 0000000..27b9ebf --- /dev/null +++ b/test/shell/command-line-feed-hosts.test @@ -0,0 +1,9 @@ +# +# If a feed host is supplied on the command-line, it should override +# the default list. Since htsn attempts to run forever, we sleep for a +# second after starting it and then kill it ($! is its pid). +# +dist/build/htsn/htsn -u foo --password bar localhost & sleep 1; kill $! +>>> /Connecting to localhost./ +>>>2 /ERROR: connect: does not exist \(Connection refused\)/ +>>>=0