Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
d1843ea4
...
d1843ea4e74aa77017940d6bee7b5e4db2c93754
authored
2001-11-27 04:03:50 +0000
by
Sam Roberts
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Updated url_parse() test case.
1 parent
44baec75
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
3 deletions
examples/Makefile
examples/Urls
examples/Urls.good
examples/Makefile
View file @
d1843ea
...
...
@@ -8,11 +8,9 @@ MULIBS = ../mailbox/.libs/libmailbox.a ../lib/libmailutils.a
EXES
=
addr mbox-explode mbox-dates mbox-auth url-parse mbox-check
$(EXES)
:
$(MULIBS)
default
:
$(EXES)
$(EXES)
:
$(M
BOXLIB
)
$(EXES)
:
$(M
ULIBS
)
# example of parsing the date fields, prints all the incorrectly
# formatted dates in a mailbox.
...
...
examples/Urls
View file @
d1843ea
scheme:
scheme:/absolute/path
scheme:relative/path
scheme:///relative/path
scheme:////absolute/path
scheme://%75%73%65%72:%70%61%73%73@%68%6f%73%74
ftp://user:pass@host//a/path
...
...
examples/Urls.good
View file @
d1843ea
scheme: --> SUCCESS
scheme <scheme>
user <>
passwd <>
auth <>
host <>
port 0
path <>
query <>
scheme:/absolute/path --> SUCCESS
scheme <scheme>
user <>
passwd <>
auth <>
host <>
port 0
path </absolute/path>
query <>
scheme:relative/path --> SUCCESS
scheme <scheme>
user <>
passwd <>
auth <>
host <>
port 0
path <relative/path>
query <>
scheme:///relative/path --> SUCCESS
scheme <scheme>
user <>
passwd <>
auth <>
host <>
port 0
path <relative/path>
query <>
scheme:////absolute/path --> SUCCESS
scheme <scheme>
user <>
passwd <>
auth <>
host <>
port 0
path </absolute/path>
query <>
scheme://%75%73%65%72:%70%61%73%73@%68%6f%73%74 --> SUCCESS
scheme <scheme>
user <user>
...
...
Please
register
or
sign in
to post a comment