#!/usr/local/bin/node

require.paths.push(__dirname);
require.paths.push(__dirname + '/lib');
var testrunner = require('nodeunit').testrunner;

process.chdir(__dirname);
testrunner.run(['test']);

#!/usr/local/bin/node

var testrunner = require('./lib/nodeunit').testrunner;

process.chdir(__dirname);
testrunner.run(['test']);

fix paths in test script to avoid running the tests of a copy installed via npm