summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-02-22 13:28:26 -0600
committerTristan Sloughter <t@crashfast.com>2015-02-22 13:28:26 -0600
commitbf707339811c183e17da661800174c2173a17b05 (patch)
tree40007e48a135710c38c4019f2f69ef8281993e90 /test
parent633dafafc365331af94372bb667b376a42ae913e (diff)
fix test, remove use of filelib:wildcard for R15 support
Diffstat (limited to 'test')
-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) ->