From 991591bebcc7a4553790dc57a009a13d69f38eed Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 3 Sep 2013 01:25:00 +0200 Subject: uriparse-test is now posix compliant --- util/t/uriparse/parse-retard-uri | 8 ++++---- util/t/uriparse/parse-url | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'util/t') 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" ] -- cgit v1.2.3