aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_evil_coverage_test.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-06-10 10:49:46 +0200
committerDan Gudmundsson <[email protected]>2013-06-10 10:49:46 +0200
commitf488b8eafe4186d2bc3cce57a534fdc68ebb186c (patch)
tree087ef68c9bc20c3e2ceb9bd87eccbb9fa1e22a4d /lib/mnesia/test/mnesia_evil_coverage_test.erl
parent099419dbf6c1180fe09552de700853ef3ad85414 (diff)
parenta49832f74d364e01d9fb7a98caf3ca942a0a0341 (diff)
downloadotp-f488b8eafe4186d2bc3cce57a534fdc68ebb186c.tar.gz
otp-f488b8eafe4186d2bc3cce57a534fdc68ebb186c.tar.bz2
otp-f488b8eafe4186d2bc3cce57a534fdc68ebb186c.zip
Merge branch 'maint'
Diffstat (limited to 'lib/mnesia/test/mnesia_evil_coverage_test.erl')
-rw-r--r--lib/mnesia/test/mnesia_evil_coverage_test.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mnesia/test/mnesia_evil_coverage_test.erl b/lib/mnesia/test/mnesia_evil_coverage_test.erl
index 0df245b75d..db23a39943 100644
--- a/lib/mnesia/test/mnesia_evil_coverage_test.erl
+++ b/lib/mnesia/test/mnesia_evil_coverage_test.erl
@@ -1985,6 +1985,10 @@ subscribe_standard(Config) when is_list(Config)->
?match({atomic, ok}, mnesia:create_table(Tab, Def)),
%% Check system events
+ ?match({error, {badarg, foo}}, mnesia:unsubscribe(foo)),
+ ?match({error, badarg}, mnesia:unsubscribe({table, foo})),
+ ?match(_, mnesia:unsubscribe(activity)),
+
?match({ok, N1}, mnesia:subscribe(system)),
?match({ok, N1}, mnesia:subscribe(activity)),