From a9ffce908dddf679166a7c4bd08b9ea801cca774 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 23 Jan 2019 21:43:28 -0800 Subject: [PATCH] test: fix pummel/test-exec Fix test/pummel/test-exec.js which broke as a result of e47f972d6851b3196b3b2ba611929f25a5fcadb6 (https://github.com/nodejs/node/pull/24951). (Until very recently, pummel tests were not run at all in CI and currently only run nightly on master.) PR-URL: https://github.com/nodejs/node/pull/25677 Reviewed-By: Jeremiah Senkpiel Reviewed-By: Daniel Bevenius Reviewed-By: Anto Aravinth Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil --- test/pummel/test-exec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/pummel/test-exec.js b/test/pummel/test-exec.js index 64c94aae5a8666..fb042bc9d2c743 100644 --- a/test/pummel/test-exec.js +++ b/test/pummel/test-exec.js @@ -122,7 +122,7 @@ exec('python -c "print 200000*\'C\'"', { maxBuffer: 1000 }, function(err, stdout, stderr) { assert.ok(err); assert.ok(/maxBuffer/.test(err.message)); - assert.strictEqual(stdout, ''); + assert.strictEqual(stdout, 'C'.repeat(1000)); assert.strictEqual(stderr, ''); });