From b1f83087722259e03a3a61d5f32965680607e93d Mon Sep 17 00:00:00 2001 From: Thomas Watson Date: Sat, 10 Feb 2024 15:07:55 -0600 Subject: [PATCH] tests/various/clk2fflogic_effects.sh: fix tail invocation Previous syntax is a GNU extension and not accepted by macOS. Use documented -n option instead, compatible with POSIX-compliant tail implementations. --- tests/various/clk2fflogic_effects.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/various/clk2fflogic_effects.sh b/tests/various/clk2fflogic_effects.sh index b51424d1b..bb33e2926 100755 --- a/tests/various/clk2fflogic_effects.sh +++ b/tests/various/clk2fflogic_effects.sh @@ -20,8 +20,8 @@ iverilog -g2012 -o clk2fflogic_effects.iv.out clk2fflogic_effects.sv ./clk2fflogic_effects.iv.out > clk2fflogic_effects.iv.log sort clk2fflogic_effects.iv.log > clk2fflogic_effects.iv.sorted.log -tail +3 clk2fflogic_effects.sim.log | sort > clk2fflogic_effects.sim.sorted.log -tail +3 clk2fflogic_effects.clk2fflogic.log | sort > clk2fflogic_effects.clk2fflogic.sorted.log +tail -n +3 clk2fflogic_effects.sim.log | sort > clk2fflogic_effects.sim.sorted.log +tail -n +3 clk2fflogic_effects.clk2fflogic.log | sort > clk2fflogic_effects.clk2fflogic.sorted.log cmp clk2fflogic_effects.iv.sorted.log clk2fflogic_effects.sim.sorted.log cmp clk2fflogic_effects.iv.sorted.log clk2fflogic_effects.clk2fflogic.sorted.log