diff options
author | makefu <root@pigstarter.de> | 2013-09-16 12:53:23 +0200 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-09-16 12:53:23 +0200 |
commit | 4823eb420b0fa7b41493ca0c57a042b2ce1ef294 (patch) | |
tree | d47474f320c5c750293f761013dea6f757036ed4 /util/t/uriparse | |
parent | d064ae45514232825891357b3b31c80ae6f698e8 (diff) | |
parent | c39c60f74a8d6be286648e2bdb264c9f93eaddef (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'util/t/uriparse')
-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" ] |