summaryrefslogtreecommitdiffstats
path: root/util/t/uriparse
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-09-03 01:25:00 +0200
committermakefu <github@syntax-fehler.de>2013-09-03 01:25:00 +0200
commit991591bebcc7a4553790dc57a009a13d69f38eed (patch)
tree3efcdea1f19bf28d5ab29f80307cb23208418f08 /util/t/uriparse
parentbd6b4bd957aba79669352b71be30b1a80adcf862 (diff)
uriparse-test is now posix compliant
Diffstat (limited to 'util/t/uriparse')
-rwxr-xr-xutil/t/uriparse/parse-retard-uri8
-rwxr-xr-xutil/t/uriparse/parse-url8
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" ]