summaryrefslogtreecommitdiff
path: root/inttest/erlc/extra-src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-03-05 17:59:35 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-03-12 20:45:37 +0100
commitb2dfebab15cc92b337b9cc9e771cb7de3ed61e4a (patch)
treee796b6bd2451599cdd0143f0b58e4ae231b9e609 /inttest/erlc/extra-src
parentfe9d328cb5133ee91dd3bbd45849e0772bf197c5 (diff)
erlc: add test suite
Diffstat (limited to 'inttest/erlc/extra-src')
-rw-r--r--inttest/erlc/extra-src/foo_sup.erl13
1 files changed, 13 insertions, 0 deletions
diff --git a/inttest/erlc/extra-src/foo_sup.erl b/inttest/erlc/extra-src/foo_sup.erl
new file mode 100644
index 0000000..a0f06b6
--- /dev/null
+++ b/inttest/erlc/extra-src/foo_sup.erl
@@ -0,0 +1,13 @@
+-module(foo_sup).
+
+-behavior(supervisor).
+
+-export([start_link/0,
+ init/1]).
+
+start_link() ->
+ supervisor:start_link({local, ?MODULE}, ?MODULE, []).
+
+init(_Args) ->
+ FooChild = {foo,{foo, start_link, []}, permanent, 5000, worker, [foo]},
+ {ok,{{one_for_all,1,1}, [FooChild]}}.