diff options
author | Hans Nilsson <[email protected]> | 2019-04-17 13:11:04 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-04-17 16:36:57 +0200 |
commit | ce9da69e350e8227927e4e5203932fa031006a5d (patch) | |
tree | 096bd9545011bc45dd4a654697297dd4b2732139 /lib/ssh/test/ssh_test_lib.erl | |
parent | 84da98ccf365cfa42dadc0c5e1d54e40b4f4fd7c (diff) | |
download | otp-ce9da69e350e8227927e4e5203932fa031006a5d.tar.gz otp-ce9da69e350e8227927e4e5203932fa031006a5d.tar.bz2 otp-ce9da69e350e8227927e4e5203932fa031006a5d.zip |
ssh: Fix deprecation warnings in tests
Diffstat (limited to 'lib/ssh/test/ssh_test_lib.erl')
-rw-r--r-- | lib/ssh/test/ssh_test_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_test_lib.erl b/lib/ssh/test/ssh_test_lib.erl index 1148071851..1129303414 100644 --- a/lib/ssh/test/ssh_test_lib.erl +++ b/lib/ssh/test/ssh_test_lib.erl @@ -970,7 +970,7 @@ expected_state(_) -> false. %%%---------------------------------------------------------------- %%% Return a string with N random characters %%% -random_chars(N) -> [crypto:rand_uniform($a,$z) || _<-lists:duplicate(N,x)]. +random_chars(N) -> [($a-1)+rand:uniform($z-$a) || _<-lists:duplicate(N,x)]. create_random_dir(Config) -> |