summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-12-08 14:33:29 -0500
committerFred Hebert <mononcqc@ferd.ca>2015-12-08 14:33:29 -0500
commit21ae3145dfd9f24af9df962fcbf00fdb55d9b923 (patch)
treef5ab39718420444564cf5aaea81e3ff9c04967ab /test
parent540a5c354aa1947722b1aa20f697a8a478d0fe31 (diff)
parent6f70b7fc881dc02e06d51ed9204c6a128f2d49e7 (diff)
Merge pull request #967 from talentdeficit/mib_include_fix
symlink mib hrl output in apps `include' directories
Diffstat (limited to 'test')
-rw-r--r--test/rebar_compile_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rebar_compile_SUITE.erl b/test/rebar_compile_SUITE.erl
index 3e7e015..ef9cf97 100644
--- a/test/rebar_compile_SUITE.erl
+++ b/test/rebar_compile_SUITE.erl
@@ -1022,8 +1022,8 @@ mib_test(Config) ->
PrivMibsDir = filename:join([AppDir, "_build", "default", "lib", Name, "priv", "mibs"]),
true = filelib:is_file(filename:join([PrivMibsDir, "SIMPLE-MIB.bin"])),
- %% check a hrl corresponding to the mib in the mibs dir exists in priv/mibs/include
- true = filelib:is_file(filename:join([PrivMibsDir, "include", "SIMPLE-MIB.hrl"])),
+ %% check a hrl corresponding to the mib in the mibs dir exists in include
+ true = filelib:is_file(filename:join([AppDir, "include", "SIMPLE-MIB.hrl"])),
%% check the mibs dir was linked into the _build dir
true = filelib:is_dir(filename:join([AppDir, "_build", "default", "lib", Name, "mibs"])).
@@ -1072,8 +1072,8 @@ umbrella_mib_first_test(Config) ->
PrivMibsDir = filename:join([AppsDir, "_build", "default", "lib", Name, "priv", "mibs"]),
true = filelib:is_file(filename:join([PrivMibsDir, "SIMPLE-MIB.bin"])),
- %% check a hrl corresponding to the mib in the mibs dir exists in priv/mibs/include
- true = filelib:is_file(filename:join([PrivMibsDir, "include", "SIMPLE-MIB.hrl"])),
+ %% check a hrl corresponding to the mib in the mibs dir exists in include
+ true = filelib:is_file(filename:join([AppDir, "include", "SIMPLE-MIB.hrl"])),
%% check the mibs dir was linked into the _build dir
true = filelib:is_dir(filename:join([AppsDir, "_build", "default", "lib", Name, "mibs"])).