summaryrefslogtreecommitdiff
path: root/test/pummel/test-dtrace-jsstack.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-04-01 21:40:21 -0700
committerRich Trott <rtrott@gmail.com>2016-04-04 14:18:49 -0700
commit263222da49ce5256c8eb5afe39c6ef5c2dac200e (patch)
treeac3e54b2316c795e621240dae65111712b281401 /test/pummel/test-dtrace-jsstack.js
parentc60faf6ba85b6365145fd8215ed572efa9f25fdc (diff)
downloadandroid-node-v8-263222da49ce5256c8eb5afe39c6ef5c2dac200e.tar.gz
android-node-v8-263222da49ce5256c8eb5afe39c6ef5c2dac200e.tar.bz2
android-node-v8-263222da49ce5256c8eb5afe39c6ef5c2dac200e.zip
test: fix pummel test failures
A handful of tests in `test/pummel` were failing due to undefined variables. The tests in pummel are not run in CI or otherwise exercised regularly so these failures can go unnoticed for a long time. PR-URL: https://github.com/nodejs/node/pull/6012 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'test/pummel/test-dtrace-jsstack.js')
-rw-r--r--test/pummel/test-dtrace-jsstack.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-dtrace-jsstack.js b/test/pummel/test-dtrace-jsstack.js
index 2e5c867055..f53c950baa 100644
--- a/test/pummel/test-dtrace-jsstack.js
+++ b/test/pummel/test-dtrace-jsstack.js
@@ -14,7 +14,7 @@ if (os.type() != 'SunOS') {
var frames = [ 'stalloogle', 'bagnoogle', 'doogle' ];
var stalloogle = function(str) {
- expected = str;
+ global.expected = str;
os.loadavg();
};