Skip to content

Commit

Permalink
let's see which one is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal authored and felixge committed Sep 2, 2010
1 parent ff65786 commit 4cc30d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/simple/test-auth-old.js
@@ -1,11 +1,15 @@
require('../common');
var sys = require('sys');

var auth = require('mysql/auth');

function test_hash_password(password, bytes){
var expected = new Buffer(bytes);
var actual = auth.hashPassword(password);

sys.print('hashPassword('+password+')...');
assert.deepEqual(actual, expected); // , 'hashPassword('+password+') failed');
sys.print('ok\n');
}

test_hash_password('root', [0x67, 0x45, 0x7E, 0x22, 0x6a, 0x1a, 0x15, 0xbd]);
Expand Down

0 comments on commit 4cc30d3

Please sign in to comment.