1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-13 15:14:16 +00:00

scripts/run_test: Use grep -E instead of egrep

Grep in Fedora 39 has started warning when invoked as 'egrep',
so use grep -E instead to avoid the warnings.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
This commit is contained in:
Paul Mackerras
2024-01-13 20:48:14 +11:00
parent fdcb6ec449
commit 9a4f0c18e1

View File

@@ -21,7 +21,7 @@ cd $TMPDIR
cp ${MICROWATT_DIR}/tests/${TEST}.bin main_ram.bin
${MICROWATT_DIR}/core_tb | sed 's/.*: //' | egrep '^(GPR[0-9]|LR |CTR |XER |CR [0-9])' | sort | grep -v GPR31 > test.out || true
${MICROWATT_DIR}/core_tb | sed 's/.*: //' | grep -E '^(GPR[0-9]|LR |CTR |XER |CR [0-9])' | sort | grep -v GPR31 > test.out || true
grep -v "^$" ${MICROWATT_DIR}/tests/${TEST}.out | sort | grep -v GPR31 > exp.out