From 0b4ceb613436e5dd5a63b9e6a2d7204397f89500 Mon Sep 17 00:00:00 2001 From: Stanislav Pankevich Date: Thu, 5 Dec 2019 20:59:16 +0100 Subject: [PATCH] --help command: remove artifacts introduced by testing --- filecheck/FileCheck.py | 2 +- tests/integration/tests/options/--help/sample.itest | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filecheck/FileCheck.py b/filecheck/FileCheck.py index 389e630..5641e1e 100755 --- a/filecheck/FileCheck.py +++ b/filecheck/FileCheck.py @@ -31,7 +31,7 @@ def similar(a, b): def print_help(): - print("USAGE: FileCheck-macOS [options] ") + print("USAGE: filecheck [options] ") print("") print("OPTIONS:") diff --git a/tests/integration/tests/options/--help/sample.itest b/tests/integration/tests/options/--help/sample.itest index 511186e..50eb518 100644 --- a/tests/integration/tests/options/--help/sample.itest +++ b/tests/integration/tests/options/--help/sample.itest @@ -1,6 +1,6 @@ ; RUN: (%FILECHECK_EXEC --help 2>&1; test $? = 0) | %FILECHECK_TESTER_EXEC %s --strict-whitespace --match-full-lines ; CHECK:{{^.*}}FileCheck{{(\.py)?$}} -; CHECK-NEXT:{{^USAGE: FileCheck.* \[options\] $}} +; CHECK-NEXT:{{^USAGE: [Ff]ile[Cc]heck.* \[options\] $}} ; CHECK-EMPTY: ; CHECK-NEXT:OPTIONS: ; CHECK-EMPTY: