]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/testhttp.c
More svn:properties changes.
[thirdparty/cups.git] / cups / testhttp.c
index e3053e13621854f2c589315296b3ec58973e9158..a7fde7124045a5b74b694e87ff4427fa22e0d6c0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: testhttp.c 5261 2006-03-09 20:47:49Z mike $"
+ * "$Id$"
  *
  *   HTTP test program for the Common UNIX Printing System (CUPS).
  *
@@ -94,6 +94,8 @@ static uri_test_t     uri_tests[] =   /* URI test data */
                            "mailto", "", "", "user@domain.com", 0, 0 },
                          { HTTP_URI_OK, "socket://server/",
                            "socket", "", "server", "/", 9100, 0 },
+                         { HTTP_URI_OK, "socket://192.168.1.1:9101/",
+                           "socket", "", "192.168.1.1", "/", 9101, 9101 },
                          { HTTP_URI_OK, "ipp://username:password@[v1.fe80::200:1234:5678:9abc+eth0]:999/ipp",
                            "ipp", "username:password", "fe80::200:1234:5678:9abc%eth0", "/ipp", 999, 999 },
                          { HTTP_URI_OK, "http://server/admin?DEVICE_URI=usb://HP/Photosmart%25202600%2520series?serial=MY53OK70V10400",
@@ -112,6 +114,8 @@ static uri_test_t   uri_tests[] =   /* URI test data */
                          /* Missing resource */
                          { HTTP_URI_MISSING_RESOURCE, "socket://[::192.168.2.1]",
                            "socket", "", "::192.168.2.1", "/", 9100, 0 },
+                         { HTTP_URI_MISSING_RESOURCE, "socket://192.168.1.1:9101",
+                           "socket", "", "192.168.1.1", "/", 9101 },
 
                          /* Bad URI */
                          { HTTP_URI_BAD_URI, "",
@@ -515,5 +519,5 @@ main(int  argc,                             /* I - Number of command-line arguments */
 
 
 /*
- * End of "$Id: testhttp.c 5261 2006-03-09 20:47:49Z mike $".
+ * End of "$Id$".
  */