summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
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" ]