From 285d1687f3e9e36e19b018c868401602bbd2c5ea Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Mon, 23 May 2016 20:47:04 -0700 Subject: adjust `data_dir_correct` test in ct suite don't bother checking the profile in the path to the data dir --- test/rebar_ct_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rebar_ct_SUITE.erl b/test/rebar_ct_SUITE.erl index 1da7571..e409c29 100644 --- a/test/rebar_ct_SUITE.erl +++ b/test/rebar_ct_SUITE.erl @@ -726,7 +726,7 @@ suite_at_app_root(Config) -> data_dir_correct(Config) -> DataDir = ?config(data_dir, Config), Parts = filename:split(DataDir), - ["rebar_ct_SUITE_data","test","rebar","lib","test","_build"|_] = lists:reverse(Parts). + ["rebar_ct_SUITE_data","test","rebar","lib",_,"_build"|_] = lists:reverse(Parts). cmd_label(Config) -> State = ?config(result, Config), -- cgit v1.1