Define a set of common SQL tests that all driver specific directories links to.
[freeradius.git] / src / tests / modules / sql_mysql / acct_1_update.unlang
deleted file mode 100644 (file)
index a2fa8e434d5ac97562f28f14032a571d30338e36..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-#  PRE: acct_0_start
-#
-sql.accounting
-if (ok) {
-       test_pass
-}
-else {
-       test_fail
-}
-
-update {
-       Tmp-Integer-0 := "%{sql:SELECT count(*) FROM radacct WHERE AcctSessionId = '00000000'}"
-}
-if (!&Tmp-Integer-0 || (&Tmp-Integer-0 != 1)) {
-       test_fail
-}
-else {
-       test_pass
-}
-
-update {
-       Tmp-Integer-0 := "%{sql:SELECT acctsessiontime FROM radacct WHERE AcctSessionId = '00000000'}"
-}
-if (!&Tmp-Integer-0 || (&Tmp-Integer-0 != 30)) {
-       test_fail
-}
-else {
-       test_pass
-}
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..b69ff9bc5b862318c50a520a880687d08fda7987
--- /dev/null
@@ -0,0 +1 @@
+../sql/acct_1_update.unlang
\ No newline at end of file