diff options
author | peter <peter@FreeBSD.org> | 2013-07-28 05:14:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2013-07-28 05:14:54 +0000 |
commit | b910f82d487cf989800adbd1a65b3a7f71b46277 (patch) | |
tree | 983fbc233aad0f26d3f835f8d9db270a7ddb0494 /test/testuri.c | |
parent | a8f6409a75aa79fd55552dae377d17f57633eb74 (diff) | |
download | FreeBSD-src-b910f82d487cf989800adbd1a65b3a7f71b46277.zip FreeBSD-src-b910f82d487cf989800adbd1a65b3a7f71b46277.tar.gz |
Import Apache apr-util-1.5.2 into vendor staging area.
Diffstat (limited to 'test/testuri.c')
-rw-r--r-- | test/testuri.c | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/test/testuri.c b/test/testuri.c index ef43388..d0b51e1 100644 --- a/test/testuri.c +++ b/test/testuri.c @@ -123,6 +123,66 @@ struct aup_test aup_tests[] = "file:../photos/image.jpg", 0, "file", NULL, NULL, NULL, NULL, NULL, "../photos/image.jpg", NULL, NULL, 0 }, + { + "file+ssh-2:../photos/image.jpg", + 0, "file+ssh-2", NULL, NULL, NULL, NULL, NULL, "../photos/image.jpg", NULL, NULL, 0 + }, + { + "script/foo.js", + 0, NULL, NULL, NULL, NULL, NULL, NULL, "script/foo.js", NULL, NULL, 0 + }, + { + "../foo2.js", + 0, NULL, NULL, NULL, NULL, NULL, NULL, "../foo2.js", NULL, NULL, 0 + }, + { + "foo3.js", + 0, NULL, NULL, NULL, NULL, NULL, NULL, "foo3.js", NULL, NULL, 0 + }, + { + "_foo/bar", + 0, NULL, NULL, NULL, NULL, NULL, NULL, "_foo/bar", NULL, NULL, 0 + }, + { + "_foo:/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + "2foo:/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + ".foo:/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + "-foo:/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + "+foo:/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + "::/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + ":/bar", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + ":foo", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + ":", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, + { + "@localhost::8080", + APR_EGENERAL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0 + }, }; struct uph_test { |