Permalink
Browse files

Merge branch 'master' of github.com:coolaj86/node-examples-js

  • Loading branch information...
2 parents 28ba01a + dc5b5b5 commit e05a08748312cc063a407798493557cb060e9724 @coolaj86 committed Apr 15, 2011
Showing with 22 additions and 2 deletions.
  1. +8 −2 fails-on-arm/README.md
  2. +5 −0 fails-on-arm/hello.js
  3. +9 −0 fails-on-arm/run-into-the-ground.sh
View
@@ -1,7 +1,13 @@
-node fails all the time on arm. Here's some test code.
+Tests
+====
+
+Here's how to see node segfault on ARM (or at least Gumstix Overo): do *anything* for a long time.
+ * `http-loop.js`: http client / server pair that makes a request every 100ms
+ * `run-into-the-ground.sh`: calls `node hello.js` until it fails
+ * `hello.js`: says "hello"
-Compiling On Ubuntu
+(Cross) Compiling On Ubuntu
===
sudo apt-get install --yes \
View
@@ -0,0 +1,5 @@
+(function () {
+ "use strict";
+
+ console.log("hello world!");
+}());
@@ -0,0 +1,9 @@
+#!/bin/bash
+set -e
+
+# this will eventually fail with a parse error
+while true
+do
+ sleep 0.1
+ node ./hello.js
+done

0 comments on commit e05a087

Please sign in to comment.