summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-09-03 01:13:37 +0200
committermakefu <root@pigstarter.de>2013-09-03 01:13:37 +0200
commitc88aaed89c05e88f769a3c3918228537e7af59de (patch)
tree50a5d497712bee9f810606d89a6bdb6963325850 /util
parent8f8d3b1e703435dbdcc6d301dbd369e109ecbb88 (diff)
fix uri-test
Diffstat (limited to 'util')
-rwxr-xr-xutil/t/uriparse/parse-retard-uri2
-rwxr-xr-xutil/t/uriparse/parse-url2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/t/uriparse/parse-retard-uri b/util/t/uriparse/parse-retard-uri
index 14aab28e..0c149148 100755
--- a/util/t/uriparse/parse-retard-uri
+++ b/util/t/uriparse/parse-retard-uri
@@ -5,7 +5,7 @@ trap "/bin/rm -f $tempfile" EXIT INT
uriparse "http://'lolwut:\"khan@domain.tld/'''" > $tempfile
. $tempfile
-[ $HOSTN == "domain.tld" ] && \
+[ "$HOSTN" == "domain.tld" ] && \
[ "$USERNAME" == "'lolwut" ] && \
[ "$PASSWORD" == '"khan' ] && \
[ "$URIPATH" == "/'''" ]
diff --git a/util/t/uriparse/parse-url b/util/t/uriparse/parse-url
index b0c926ca..cf6f53fd 100755
--- a/util/t/uriparse/parse-url
+++ b/util/t/uriparse/parse-url
@@ -5,7 +5,7 @@ trap "/bin/rm -f $tempfile" EXIT INT
uriparse "http://user:pass@domain.tld/path" > $tempfile
. $tempfile
-[ $HOSTN == "domain.tld" ] && \
+[ "$HOSTN" == "domain.tld" ] && \
[ $USERNAME == "user" ] && \
[ $PASSWORD == "pass" ] && \
[ $URIPATH == "/path" ]