diff options
author | Björn Gustavsson <[email protected]> | 2011-11-23 14:36:36 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-23 14:36:36 +0100 |
commit | 10b4b4fc93339f85d1552100cbe6e0d7f4300ec4 (patch) | |
tree | 7fb6d1b667aa43bb535dba515671d96d15764402 /erts | |
parent | 02c869c58f226e8ea16de3d35e0e53d023376cb7 (diff) | |
download | otp-10b4b4fc93339f85d1552100cbe6e0d7f4300ec4.tar.gz otp-10b4b4fc93339f85d1552100cbe6e0d7f4300ec4.tar.bz2 otp-10b4b4fc93339f85d1552100cbe6e0d7f4300ec4.zip |
erlc_SUITE: Fix failing compile_mib/1 test case
The MIB compiler has changed how it reports syntax errors.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/test/erlc_SUITE.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl index a9e28672e3..1f459a9207 100644 --- a/erts/test/erlc_SUITE.erl +++ b/erts/test/erlc_SUITE.erl @@ -154,7 +154,8 @@ compile_mib(Config) when is_list(Config) -> ?line BadFile = filename:join(SrcDir, "BAD-MIB.mib"), ?line run(Config, Cmd, BadFile, "", - ["Error: syntax error before: mibs\$", "compilation_failed_ERROR_"]), + ["BAD-MIB.mib: 1: syntax error before: mibs\$", + "compilation_failed_ERROR_"]), %% Make sure that no -I option works. |