File 0194-ftp-fix-running-tests-as-root-ie.-under-Docker.patch of Package erlang

From 3f5dc4a3d7f4548008363cbd8d201ff918f41d97 Mon Sep 17 00:00:00 2001
From: Alexander Clouter <alex@digriz.org.uk>
Date: Mon, 13 Jul 2020 13:55:07 +0100
Subject: [PATCH 04/14] ftp: fix running tests as root (ie. under Docker)

---
 lib/ftp/test/ftp_SUITE.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ftp/test/ftp_SUITE.erl b/lib/ftp/test/ftp_SUITE.erl
index 1e40499a1e..a83332d389 100644
--- a/lib/ftp/test/ftp_SUITE.erl
+++ b/lib/ftp/test/ftp_SUITE.erl
@@ -491,7 +491,7 @@ send_bin(Config0) ->
     {error, enotbinary} = ftp:send_bin(Pid, "some string", id2ftp(File,Config)),
     ok = ftp:send_bin(Pid, BinContents, id2ftp(File,Config)),
     chk_file(File, BinContents, Config),
-    {error, efnamena} = ftp:send_bin(Pid, BinContents, "/nothere"),
+    {error, efnamena} = ftp:send_bin(Pid, BinContents, "/nothere/nohere"),
     ok.
 
 %%-------------------------------------------------------------------------
-- 
2.26.2

openSUSE Build Service is sponsored by