[loongarch] fix syntax error in script
authorNico Weber <thakis@chromium.org>
Sat, 3 Dec 2022 12:49:41 +0000 (07:49 -0500)
committerNico Weber <thakis@chromium.org>
Sat, 3 Dec 2022 12:49:43 +0000 (07:49 -0500)
At least on macOS with zsh, the test failed with

    line 1: syntax error near unexpected token `&'

previously.

llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s

index 07860df..60fd145 100644 (file)
@@ -1,4 +1,4 @@
-# RUN: llvm-mc --triple=loongarch64 %s |& FileCheck --check-prefix=PRINT %s
+# RUN: llvm-mc --triple=loongarch64 %s | FileCheck --check-prefix=PRINT %s
 # RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null 2>&1 \
 # RUN:                 | FileCheck %s