1 var concat = require('../../')
2 var spawn = require('child_process').spawn
3 var exec = require('child_process').exec
4 var test = require('tape')
6 test('ls command', function (t) {
8 var cmd = spawn('ls', [ __dirname ])
10 concat(function(out) {
11 exec('ls ' + __dirname, function (err, body) {
12 t.equal(out.toString('utf8'), body.toString('utf8'))