# Clear out old data
#
update {
- Tmp-String-0 := "%{sql_postgresql:DELETE FROM radacct WHERE AcctSessionId = '00000002'}"
+ Tmp-String-0 := "%{sql:DELETE FROM radacct WHERE AcctSessionId = '00000002'}"
}
if (!&Tmp-String-0) {
test_fail
test_pass
}
-sql_postgresql.accounting
+sql.accounting
if (ok) {
test_pass
}
}
update {
- Tmp-Integer-0 := "%{sql_postgresql:SELECT count(*) FROM radacct WHERE AcctSessionId = '00000002'}"
+ Tmp-Integer-0 := "%{sql:SELECT count(*) FROM radacct WHERE AcctSessionId = '00000002'}"
}
if (!&Tmp-Integer-0 || (&Tmp-Integer-0 != 1)) {
test_fail
}
update {
- Tmp-Integer-0 := "%{sql_postgresql:SELECT acctsessiontime FROM radacct WHERE AcctSessionId = '00000002'}"
+ Tmp-Integer-0 := "%{sql:SELECT acctsessiontime FROM radacct WHERE AcctSessionId = '00000002'}"
}
if (!&Tmp-Integer-0 || (&Tmp-Integer-0 != 30)) {
test_fail