From 740b810ab1aaa3506d004d01f21e3cfc270fbcfc Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 13 Sep 2020 10:52:37 +0200 Subject: Added environment variable for bonus test --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.py') diff --git a/src/main.py b/src/main.py index 9b49ce8..efdfc2f 100755 --- a/src/main.py +++ b/src/main.py @@ -51,7 +51,7 @@ def main(): os.path.join(config.EXECUTABLES_PATH, cmd)) config.VERBOSE_LEVEL = args.verbose - if args.bonus: + if args.bonus or os.environ.get("MINISHELL_TEST_BONUS") == "yes": config.BONUS = True if args.no_bonus: config.BONUS = False -- cgit