mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2026-10-24 20:24:23 +00:00
revamp to mysql for gateway configuration and major code refactor
This commit is contained in:
1 parent
c22b6f9c08
commit
5a529b2bb9
23 files changed
+1152
-187
No files matched your search
@@ -0,0 +1,11 @@
|
||||
const test = require('tape').test ;
|
||||
const exec = require('child_process').exec ;
|
||||
const pwd = process.env.TRAVIS ? '' : '-p$MYSQL_ROOT_PASSWORD';
|
||||
|
||||
test('dropping jambones_test database', (t) => {
|
||||
exec(`mysql -h localhost -u root ${pwd} < ${__dirname}/db/remove_test_db.sql`, (err, stdout, stderr) => {
|
||||
if (err) return t.end(err);
|
||||
t.pass('database successfully dropped');
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user