Skip to content

Commit fb1d289

Browse files
committed
temp: ensure existance of tmp dir
Signed-off-by: Ulysse Buonomo <[email protected]>
1 parent 87e3515 commit fb1d289

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/cases/helper_cockroachdb.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ def teardown
133133

134134
def after_run
135135
is = @@passed ? "innocent" : "culprit"
136+
FileUtils.mkdir_p("tmp")
137+
FileUtils.touch("tmp/culprits.txt")
136138
File.write("tmp/culprits.txt", @@tests_before.map{"#{_1} #{is}"}.join("\n") + "\n")
137139
end
138140
end

0 commit comments

Comments
 (0)