From be5718d9273f63e40427166c59036ebc13120d08 Mon Sep 17 00:00:00 2001 From: Martin Pärtel Date: Wed, 13 May 2020 20:17:51 +0300 Subject: Fixed a line ending bug with uid/gid mapping files that I introduced when merging #85. --- tests/test_bindfs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_bindfs.rb') diff --git a/tests/test_bindfs.rb b/tests/test_bindfs.rb index 8e4ee13..a616017 100755 --- a/tests/test_bindfs.rb +++ b/tests/test_bindfs.rb @@ -400,7 +400,7 @@ Tempfile.create('passwdfile') do |passwd_file| Tempfile.create('groupfile') do |group_file| passwd_file.puts("nobody:x:123:456:,,,:/tmp:/bin/false") passwd_file.flush - group_file.puts("#{nobody_group}:x:789") + group_file.write("#{nobody_group}:x:789") group_file.flush root_testenv("--map-passwd=#{Shellwords.escape(passwd_file.path)} --map-group=#{Shellwords.escape(group_file.path)}") do touch('src/file1') -- cgit v1.2.3