diff options
author | Patrik Nyblom <[email protected]> | 2012-08-15 17:25:26 +0200 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2012-08-15 17:25:26 +0200 |
commit | 0c387e88d5a6dc97466ec33088aa9798eeb1d16d (patch) | |
tree | e72373c80502619a9d1fd60a7fa085b7b2ef9cee /lib/sasl/test | |
parent | b6196f5d47c06e6991cfc7e76db3d588a7797302 (diff) | |
download | otp-0c387e88d5a6dc97466ec33088aa9798eeb1d16d.tar.gz otp-0c387e88d5a6dc97466ec33088aa9798eeb1d16d.tar.bz2 otp-0c387e88d5a6dc97466ec33088aa9798eeb1d16d.zip |
Teach release_handler_SUITE about file:native_name_encoding/0
Release_handler_suite correctly checks that no calls to the file module
is done during a diskless upgrade, but file:native_name_encoding is
a BIF that does no real i/o and can therefore be called during command line
argunemt parsing. The testcase is updated to ignore such calls.
Diffstat (limited to 'lib/sasl/test')
-rw-r--r-- | lib/sasl/test/installer.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sasl/test/installer.erl b/lib/sasl/test/installer.erl index 6942ec21ea..634218e3fb 100644 --- a/lib/sasl/test/installer.erl +++ b/lib/sasl/test/installer.erl @@ -876,7 +876,9 @@ trace_disallowed_calls(Node) -> MasterProc = self(), rpc:call(Node,dbg,tracer,[process,{fun(T,_) -> MasterProc ! T end,[]}]), rpc:call(Node,dbg,p,[all,call]), - rpc:call(Node,dbg,tp,[file,[{'_',[],[{message,{caller}}]}]]). + rpc:call(Node,dbg,tp,[file,[{'_',[],[{message,{caller}}]}]]), + %% File:native_name_encoding/0 is a BIF and OK to use + rpc:call(Node,dbg,ctp,[file,native_name_encoding,0]). check_disallowed_calls(TestNode,Line) -> receive |