From: Philippe Wooding Date: Sun, 17 May 2015 15:08:49 +0000 (+0200) Subject: Should not call test_pass in auth test SQL test X-Git-Tag: release_3_0_9~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=387a5c45f132f478bfd9f01885e47dfe330f924f;p=thirdparty%2Ffreeradius-server.git Should not call test_pass in auth test SQL test --- diff --git a/src/tests/modules/sql/auth.unlang b/src/tests/modules/sql/auth.unlang index 0cb9aed231a..141e194ae15 100644 --- a/src/tests/modules/sql/auth.unlang +++ b/src/tests/modules/sql/auth.unlang @@ -7,9 +7,6 @@ update { if (!&Tmp-String-0) { test_fail } -else { - test_pass -} update { Tmp-String-0 := "%{sql:INSERT INTO radcheck (username, attribute, op, value) VALUES ('foo', 'NAS-IP-Address', '==', '1.2.3.4')}" @@ -17,9 +14,6 @@ update { if (!&Tmp-String-0) { test_fail } -else { - test_pass -} update { Tmp-String-0 := "%{sql:INSERT INTO radcheck (username, attribute, op, value) VALUES ('foo', 'Cleartext-Password', ':=', 'password')}" @@ -27,9 +21,6 @@ update { if (!&Tmp-String-0) { test_fail } -else { - test_pass -} update { Tmp-String-0 := "%{sql:DELETE FROM radreply WHERE username = 'foo'}" @@ -37,9 +28,6 @@ update { if (!&Tmp-String-0) { test_fail } -else { - test_pass -} update { Tmp-String-0 := "%{sql:INSERT INTO radreply (username, attribute, op, value) VALUES ('foo', 'Idle-Timeout', ':=', '3600')}" @@ -47,8 +35,5 @@ update { if (!&Tmp-String-0) { test_fail } -else { - test_pass -} sql