Fix: Remove default glob from shell.test (fixes #529) (#530)

This commit is contained in:
Gyandeep Singh 2016-10-17 13:00:04 -05:00 committed by Nate Fischer
parent d057e075a7
commit 9bf98dece9
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,7 @@ common.register('test', _test, {
'S': 'socket',
},
wrapOutput: false,
allowGlobbing: false,
});

View File

@ -65,6 +65,12 @@ result = shell.test('-L', 'resources/file1');
assert.equal(shell.error(), null);
assert.equal(result, false);
// regression #529
result = shell.test('-f', 'resources/**/*.js');
assert.equal(shell.error(), null);
assert.equal(result, false);
// link
// Windows is weird with links so skip these tests
if (common.platform !== 'win') {