summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rebar_test_utils.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rebar_test_utils.erl b/test/rebar_test_utils.erl
index 2198384..73b9903 100644
--- a/test/rebar_test_utils.erl
+++ b/test/rebar_test_utils.erl
@@ -189,8 +189,8 @@ check_results(AppDir, Expected) ->
end
; ({tar, Name, Vsn}) ->
ct:pal("Tarball: ~s-~s", [Name, Vsn]),
- TarballWildcard = filename:join([AppDir, "**", Name++"-"++Vsn++".tar.gz"]),
- ?assertNotEqual([], filelib:wildcard(TarballWildcard))
+ Tarball = filename:join([AppDir, "_build", "rel", Name, Name++"-"++Vsn++".tar.gz"]),
+ ?assertNotEqual([], filelib:is_file(Tarball))
end, Expected).
write_src_file(Dir, Name) ->