Skip to content

Commit

Permalink
Downstream test: guarding against getting stuck in tty mode.
Browse files Browse the repository at this point in the history
Fixes #1247
Closes gh-1452
  • Loading branch information
ariya committed Jan 13, 2016
1 parent f863270 commit bca27d1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/downstream.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ function test_project(project, repo) {
process.chdir(project);
console.log();
console.log('HEAD is');
execute('git log -n1');
execute('git log -n1 > commit.top');
console.log(fs.readFileSync('commit.top', 'utf-8'));

console.log();
execute('npm install');
Expand Down Expand Up @@ -99,6 +100,6 @@ test_downstream({
'redeyed': 'https://github.com/thlorenz/redeyed.git',
'jsfmt': 'https://github.com/rdio/jsfmt.git',
'istanbul': 'https://github.com/gotwarlost/istanbul.git',
'documentjs': 'https://github.com/bitovi/documentjs.git'
// 'jscs': 'https://github.com/jscs-dev/node-jscs.git'
'documentjs': 'https://github.com/bitovi/documentjs.git',
'jscs': 'https://github.com/jscs-dev/node-jscs.git'
});

0 comments on commit bca27d1

Please sign in to comment.