To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaborator-S (--socket_dir) option
-S (--socket_dir) option specifies the location to put socket files
- Background
-
- Given
-
I set the environment variables to:
variable value TREMA_LOG_DIR . TREMA_PID_DIR . - And
-
a file named "null_controller.rb" with:
class NullController < Trema::Controller; end
- Scenarios
-
- -S option
-
- When
-
I successfully run
trema run null_controller.rb -S . -d
- And
- sleep 3
- Then
- a socket file named "NullController.ctl" should exist
- --socket_dir option
-
- When
-
I successfully run
trema run null_controller.rb --socket_dir . -d
- And
- sleep 3
- Then
- a socket file named "NullController.ctl" should exist
- "No such directory" error
-
- When
-
I run
trema run null_controller.rb -S sock -d
- Then
- the exit status should not be 0
- And
-
the stderr should contain:
No such directory
Last published over 5 years ago by Yasuhito Takamiya.