aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2009-12-01 12:49:38 +0000
committerErlang/OTP <[email protected]>2009-12-01 12:49:38 +0000
commit856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6 (patch)
tree0b6eb4683352b23e7e60b4fed1ebfd81d45357c1
parentc6f2df73550c341725c5c1db4083217f2d1b9fef (diff)
downloadotp-856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6.tar.gz
otp-856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6.tar.bz2
otp-856e8f2ebddd70f6556fbaf87e0b624d6e3c5cb6.zip
erlc_SUITE: Handle new formatting of warnings
The MIB compiler in the snmp applications formats its warnings slightly differently, so we'll need to update the regexp that should match the expected output.
-rw-r--r--erts/test/erlc_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/test/erlc_SUITE.erl b/erts/test/erlc_SUITE.erl
index ce64ef1a75..1d944811aa 100644
--- a/erts/test/erlc_SUITE.erl
+++ b/erts/test/erlc_SUITE.erl
@@ -117,7 +117,7 @@ compile_mib(Config) when is_list(Config) ->
?line case test_server:os_type() of
{unix,_} ->
?line run(Config, Cmd, FileName, "-W +'{verbosity,info}'",
- ["GOOD-MIB.mib: Info. No accessfunction for 'sysDescr'",
+ ["\\[GOOD-MIB[.]mib\\]\\[INF\\]: No accessfunction for 'sysDescr' => using default",
"_OK_"]),
?line true = exists(Output),
?line ok = file:delete(Output);