From 53f02ee869e0166af763bbbc358ba5b6f0b54385 Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Tue, 26 Mar 2024 11:47:57 +0000 Subject: [PATCH] Put <20M in double quotes to avoid truncate error Avoids bash assuming < is redirection. See error in https://github.com/FEX-Emu/FEX/actions/runs/8434045431/job/23096421079#step:18:16 --- .github/workflows/ccpp.yml | 2 +- .github/workflows/glibc_fault.yml | 2 +- .github/workflows/hostrunner.yml | 2 +- .github/workflows/instcountci.yml | 2 +- .github/workflows/vixl_simulator.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 8950597556..f62f6c4205 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -237,7 +237,7 @@ jobs: working-directory: ${{runner.workspace}}/build # Cap out the log files at 20M in case something crash spins and dumps fault text # ASM tests get quite close to 10MB - run: truncate --size=<20M ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true + run: truncate --size="<20M" ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true - name: Remove old SHM regions if: ${{ always() }} diff --git a/.github/workflows/glibc_fault.yml b/.github/workflows/glibc_fault.yml index b2c146d103..15903a7283 100644 --- a/.github/workflows/glibc_fault.yml +++ b/.github/workflows/glibc_fault.yml @@ -171,7 +171,7 @@ jobs: working-directory: ${{runner.workspace}}/build # Cap out the log files at 20M in case something crash spins and dumps fault text # ASM tests get quite close to 10MB - run: truncate --size=<20M ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true + run: truncate --size="<20M" ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true - name: Remove old SHM regions if: ${{ always() }} diff --git a/.github/workflows/hostrunner.yml b/.github/workflows/hostrunner.yml index c0285236fd..4a5844e88c 100644 --- a/.github/workflows/hostrunner.yml +++ b/.github/workflows/hostrunner.yml @@ -90,7 +90,7 @@ jobs: working-directory: ${{runner.workspace}}/build # Cap out the log files at 20M in case something crash spins and dumps fault text # ASM tests get quite close to 10MB - run: truncate --size=<20M ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true + run: truncate --size="<20M" ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true - name: Set runner name if: ${{ always() }} diff --git a/.github/workflows/instcountci.yml b/.github/workflows/instcountci.yml index 4b5e017ffb..221c62cd12 100644 --- a/.github/workflows/instcountci.yml +++ b/.github/workflows/instcountci.yml @@ -121,7 +121,7 @@ jobs: working-directory: ${{runner.workspace}}/build # Cap out the log files at 20M in case something crash spins and dumps fault text # ASM tests get quite close to 10MB - run: truncate --size=<20M ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true + run: truncate --size="<20M" ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true - name: Set runner name if: ${{ always() }} diff --git a/.github/workflows/vixl_simulator.yml b/.github/workflows/vixl_simulator.yml index 64e94f0086..3c1a8ab1f0 100644 --- a/.github/workflows/vixl_simulator.yml +++ b/.github/workflows/vixl_simulator.yml @@ -106,7 +106,7 @@ jobs: working-directory: ${{runner.workspace}}/build # Cap out the log files at 20M in case something crash spins and dumps fault text # ASM tests get quite close to 10MB - run: truncate --size=<20M ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true + run: truncate --size="<20M" ${{runner.workspace}}/build/Testing/Temporary/LastTest_*.log || true - name: Set runner name if: ${{ always() }}