From f042a7419d21eb0c0c6d7b6fe526eb93e7a78bbb Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 28 Jul 2008 18:39:32 +0000 Subject: Added test cases 1045 through 1049 as simple tests of --interface using the localhost interface. --- tests/data/test1049 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test1049 (limited to 'tests/data/test1049') diff --git a/tests/data/test1049 b/tests/data/test1049 new file mode 100644 index 000000000..964724743 --- /dev/null +++ b/tests/data/test1049 @@ -0,0 +1,48 @@ + + + +TFTP +TFTP RRQ +--interface + + + +# +# Server-side + + +a chunk of +data +returned + to client + + + +# +# Client-side + + +tftp + + +TFTP retrieve with localhost --interface + + +tftp://%HOSTIP:%TFTPPORT//1049 --trace-ascii log/traceit --interface 127.0.0.1 + +# When bound to localhost, one may connect only to a local test server + +perl -e "print 'Test requires default test server host address' if ( '%HOSTIP' ne '127.0.0.1' );" + + + +# +# Verify pseudo protocol after the test has been "shot" + + +opcode: 1 +filename: /1049 +mode: octet + + + -- cgit v1.2.3