diff options
author | makefu <root@pigstarter.de> | 2013-09-03 01:13:37 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-09-03 01:13:37 +0200 |
commit | c88aaed89c05e88f769a3c3918228537e7af59de (patch) | |
tree | 50a5d497712bee9f810606d89a6bdb6963325850 /util/t/uriparse | |
parent | 8f8d3b1e703435dbdcc6d301dbd369e109ecbb88 (diff) |
fix uri-test
Diffstat (limited to 'util/t/uriparse')
-rwxr-xr-x | util/t/uriparse/parse-retard-uri | 2 | ||||
-rwxr-xr-x | util/t/uriparse/parse-url | 2 |
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" ] |