mirror of
https://github.com/samsonjs/csc360-a1-shell.git
synced 2026-04-27 14:57:43 +00:00
Allow overriding test executable with env var A1_PATH
This commit is contained in:
parent
b4a1f28a11
commit
f16bd5f814
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ require 'minitest/autorun'
|
||||||
class ShellTest < Minitest::Test
|
class ShellTest < Minitest::Test
|
||||||
TRIVIAL_SHELL_SCRIPT = "#!/bin/sh\ntrue".freeze
|
TRIVIAL_SHELL_SCRIPT = "#!/bin/sh\ntrue".freeze
|
||||||
|
|
||||||
A1_PATH = './a1'.freeze
|
A1_PATH = ENV.fetch('A1_PATH', './a1').freeze
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
FileUtils.mkdir_p('test_bin')
|
FileUtils.mkdir_p('test_bin')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue