]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add smb test URI.
authorMichael R Sweet <michaelrsweet@gmail.com>
Fri, 18 May 2018 19:34:50 +0000 (15:34 -0400)
committerMichael R Sweet <michaelrsweet@gmail.com>
Fri, 18 May 2018 19:34:50 +0000 (15:34 -0400)
cups/testhttp.c

index 90d36d4468b259b581ed8e3b339f9ad252240cbc..bc77b023697de12bc2c388fa871c07b6c90d28b6 100644 (file)
@@ -115,6 +115,9 @@ static uri_test_t   uri_tests[] =   /* URI test data */
                          { HTTP_URI_STATUS_OK, "ipp://%22%23%2F%3A%3C%3E%3F%40%5B%5C%5D%5E%60%7B%7C%7D/",
                            "ipp", "", "\"#/:<>?@[\\]^`{|}", "/", 631, 0,
                            HTTP_URI_CODING_MOST  },
+                         { HTTP_URI_STATUS_UNKNOWN_SCHEME, "smb://server/Some%20Printer",
+                           "smb", "", "server", "/Some Printer", 0, 0,
+                           HTTP_URI_CODING_ALL },
 
                          /* Missing scheme */
                          { HTTP_URI_STATUS_MISSING_SCHEME, "/path/to/file/index.html",