Sha256: c1da0a040b4e7850ae9b11a03fe4699830ba76b7f9ae2b3a962a3ca82f024555
Contents?: true
Size: 329 Bytes
Versions: 8
Compression:
Stored size: 329 Bytes
Contents
Before do @aruba_timeout_seconds = 5 end Before('@sudo') do ENV['TREMA_LOG_DIR'] = '.' ENV['TREMA_PID_DIR'] = '.' ENV['TREMA_SOCKET_DIR'] = '.' fail 'sudo authentication failed' unless system 'sudo -v' @aruba_timeout_seconds = 10 end After do run "trema killall --all -S #{ENV['TREMA_SOCKET_DIR']}" sleep 5 end
Version data entries
8 entries across 8 versions & 1 rubygems