From 66a6e7caa4b7b64566d08fd5e93ce250773a50a7 Mon Sep 17 00:00:00 2001 From: Siri Hansen Date: Wed, 24 Oct 2012 14:52:36 +0200 Subject: [common_test] Add test for OTP-9956 OTP-9956 Test that the test suite itself can be cover compiled, and that data_dir is still set correctly. --- lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl') diff --git a/lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl b/lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl index e84f545fe8..fdc3323f0a 100644 --- a/lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl +++ b/lib/common_test/test/ct_cover_SUITE_data/cover_SUITE.erl @@ -122,6 +122,14 @@ ct_cover_add_remove_nodes(Config) -> ok. +otp_9956(Config) -> + cover_compiled = code:which(?MODULE), + DataDir = ?config(data_dir,Config), + absolute = filename:pathtype(DataDir), + true = filelib:is_dir(DataDir), + ok. + + %%%----------------------------------------------------------------- %%% Internal nodename(Case,N) -> -- cgit v1.2.3