From 7a0cbad75f43e9d8ba43a15f63776158821561f4 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 2 Aug 2024 13:30:16 -0700 Subject: [PATCH] Support Darwin for tests Signed-off-by: Christopher Larson --- test/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper.py b/test/helper.py index 6ebedff..161470f 100644 --- a/test/helper.py +++ b/test/helper.py @@ -245,7 +245,7 @@ def convert_command(tag: str) -> str: f"Add-Content -Path '$dest' -Value {tag} -NoNewline" '"' ) - elif system == "Linux": + elif system == "Linux" or system == "Darwin": return f"bash -c \"cp '$source' '$dest'; printf {tag} >> '$dest'\"" else: raise Exception(f"Unsupported system: {system}")