From 6295ae273d4a15b60b580344b986986d004c22ad Mon Sep 17 00:00:00 2001 From: BanceDev Date: Tue, 15 Oct 2024 11:40:26 -0400 Subject: updated help messages --- test/run_tests.lua | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) (limited to 'test/run_tests.lua') diff --git a/test/run_tests.lua b/test/run_tests.lua index 39749d3..0f5c5bd 100644 --- a/test/run_tests.lua +++ b/test/run_tests.lua @@ -19,18 +19,34 @@ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. print("Starting Lunar Shell End-to-End Testing...\n") print("Entering Debug Mode...") lush.debug(true) +local rc = true print("Testing Args...") -lush.exec("args_test.lua testarg1 testarg2 testarg3") +rc = lush.exec("args_test.lua testarg1 testarg2 testarg3") +if rc == false then + lush.exit() +end print("\nTesting Chaining...") -lush.exec("chaining_test.lua") +rc = lush.exec("chaining_test.lua") +if rc == false then + lush.exit() +end print("\nTesting File Checks...") -lush.exec("filecheck_test.lua") +rc = lush.exec("filecheck_test.lua") +if rc == false then + lush.exit() +end print("\nTesting History...") -lush.exec("history_test.lua") +rc = lush.exec("history_test.lua") +if rc == false then + lush.exit() +end print("\nTesting Environment Variables...") -lush.exec("env_test.lua") +rc = lush.exec("env_test.lua") +if rc == false then + lush.exit() +end -- cgit v1.2.3-59-g8ed1b