diff options
Diffstat (limited to 'test/files/detach-run/basic/basic.scala')
-rw-r--r-- | test/files/detach-run/basic/basic.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/detach-run/basic/basic.scala b/test/files/detach-run/basic/basic.scala index 03e56a74a1..c785bd6c7d 100644 --- a/test/files/detach-run/basic/basic.scala +++ b/test/files/detach-run/basic/basic.scala @@ -1,3 +1,7 @@ +/* + * @author Stephane Micheloud + */ + object Test { val name = "basic" @@ -20,7 +24,7 @@ object Test { private var th = new Thread(this) def start() { th.start(); Thread.sleep(1000) } def run() { Server.main(Array(port.toString)) } - def terminate() { Server.terminate(); System.exit(0) } + def terminate() { Server.terminate(); system.exit(0) } } private class ClientThread(host: String, port: Int) extends Runnable { |