lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


files.lua: 'what' part of the tests should be signal and not exit.
           This test currently fails due to incorrect check.

Signed-off-by: Prem Karat <pkarat@mvista.com>
---
 files.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/files.lua b/files.lua
index db7e245..b5eb8af 100644
--- a/files.lua
+++ b/files.lua
@@ -511,7 +511,7 @@ if not _noposix then
     {"exit 129", "exit", 129},
     {"kill -s HUP $$", "signal", 1},
     {"kill -s KILL $$", "signal", 9},
-    {"sh -c 'kill -s HUP $$'", "exit"},
+    {"sh -c 'kill -s HUP $$'", "signal", 1},
     {'lua -e "os.exit(20, true)"', "exit", 20},
   }
   print("\n(some error messages are expected now)")
-- 
1.9.1

-- 
	-prem