aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/sensitive_SUITE.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 14:11:34 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:22:36 +0200
commit3d44429177a7dbdac5662433cfc55f5b5113a959 (patch)
tree0c3ccaf26a91360fab5a9ff48c91b8a91e229992 /erts/emulator/test/sensitive_SUITE.erl
parenta2f9d28ac231f7209815b743d9a20d266c51a187 (diff)
downloadotp-3d44429177a7dbdac5662433cfc55f5b5113a959.tar.gz
otp-3d44429177a7dbdac5662433cfc55f5b5113a959.tar.bz2
otp-3d44429177a7dbdac5662433cfc55f5b5113a959.zip
Add ct:get_progname/0
This replaces all uses of lib:progname/0 in tests.
Diffstat (limited to 'erts/emulator/test/sensitive_SUITE.erl')
-rw-r--r--erts/emulator/test/sensitive_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/sensitive_SUITE.erl b/erts/emulator/test/sensitive_SUITE.erl
index c3e303bbd1..9b23a30e88 100644
--- a/erts/emulator/test/sensitive_SUITE.erl
+++ b/erts/emulator/test/sensitive_SUITE.erl
@@ -413,7 +413,7 @@ my_process_info(Pid, Tag) ->
t_process_display(Config) when is_list(Config) ->
Dir = filename:dirname(code:which(?MODULE)),
- Cmd = atom_to_list(lib:progname()) ++ " -noinput -pa " ++ Dir ++
+ Cmd = ct:get_progname() ++ " -noinput -pa " ++ Dir ++
" -run " ++ ?MODULE_STRING ++ " remote_process_display",
io:put_chars(Cmd),
P = open_port({spawn,Cmd}, [in,stderr_to_stdout,eof]),