From 348fcee5fb5c9abb0bbe86e1a018abd6fb0d8074 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 8 Aug 2016 01:16:08 -0400 Subject: test: Fix os_name() call. --- test/functional/legacy/file_perm_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/legacy/file_perm_spec.lua b/test/functional/legacy/file_perm_spec.lua index 98bdf630dd..9ebbfd25e4 100644 --- a/test/functional/legacy/file_perm_spec.lua +++ b/test/functional/legacy/file_perm_spec.lua @@ -21,7 +21,7 @@ describe('Test getting and setting file permissions', function() eq(9, call('len', call('getfperm', tempfile))) eq(1, call('setfperm', tempfile, 'rwx------')) - if helpers.os_name == 'windows' then + if helpers.os_name() == 'windows' then eq('rw-rw-rw-', call('getfperm', tempfile)) else eq('rwx------', call('getfperm', tempfile)) -- cgit