diff options
author | makefu <github@syntax-fehler.de> | 2013-09-03 01:25:00 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-09-03 01:25:00 +0200 |
commit | 991591bebcc7a4553790dc57a009a13d69f38eed (patch) | |
tree | 3efcdea1f19bf28d5ab29f80307cb23208418f08 | |
parent | bd6b4bd957aba79669352b71be30b1a80adcf862 (diff) |
uriparse-test is now posix compliant
-rwxr-xr-x | util/t/uriparse/parse-retard-uri | 8 | ||||
-rwxr-xr-x | util/t/uriparse/parse-url | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/util/t/uriparse/parse-retard-uri b/util/t/uriparse/parse-retard-uri index 0c149148..76feac41 100755 --- a/util/t/uriparse/parse-retard-uri +++ b/util/t/uriparse/parse-retard-uri @@ -5,9 +5,9 @@ trap "/bin/rm -f $tempfile" EXIT INT uriparse "http://'lolwut:\"khan@domain.tld/'''" > $tempfile . $tempfile -[ "$HOSTN" == "domain.tld" ] && \ - [ "$USERNAME" == "'lolwut" ] && \ - [ "$PASSWORD" == '"khan' ] && \ - [ "$URIPATH" == "/'''" ] +[ "$HOSTN" = "domain.tld" ] && \ + [ "$USERNAME" = "'lolwut" ] && \ + [ "$PASSWORD" = '"khan' ] && \ + [ "$URIPATH" = "/'''" ] diff --git a/util/t/uriparse/parse-url b/util/t/uriparse/parse-url index cf6f53fd..2ccf39c9 100755 --- a/util/t/uriparse/parse-url +++ b/util/t/uriparse/parse-url @@ -5,9 +5,9 @@ trap "/bin/rm -f $tempfile" EXIT INT uriparse "http://user:pass@domain.tld/path" > $tempfile . $tempfile -[ "$HOSTN" == "domain.tld" ] && \ - [ $USERNAME == "user" ] && \ - [ $PASSWORD == "pass" ] && \ - [ $URIPATH == "/path" ] +[ "$HOSTN" = "domain.tld" ] && \ + [ $USERNAME = "user" ] && \ + [ $PASSWORD = "pass" ] && \ + [ $URIPATH = "/path" ] |