Skip to content

Commit

Permalink
Add example line of running test case
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdz committed Mar 27, 2017
1 parent e3c36f1 commit a1a5cbe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/ufuzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// derived from https://github.com/qfox/uglyfuzzer by Peter van der Zee
"use strict";

// check both cli and file modes of nodejs (!). See #1695 for details.
// cat s.js | node && node s.js && bin/uglifyjs s.js -c | node

// workaround for tty output truncation upon process.exit()
[process.stdout, process.stderr].forEach(function(stream){
if (stream._handle && stream._handle.setBlocking)
Expand Down

0 comments on commit a1a5cbe

Please sign in to comment.