++ regexp

This commit is contained in:
Nico Schottelius 2019-06-03 21:47:36 +02:00
parent 35139976dd
commit 8d2c0cbf9b

View file

@ -14,8 +14,8 @@ cd $P4_PROJECT_DIR && make
# Step 5
cd $P4_PROJECT_DIR/nf_sume_sdnet_ip/SimpleSumeSwitch && ./vivado_sim.bash >LOG 2>&1
expected_line=$(grep ^expected LOG | sed 's/.*(//')
actual_line=$(grep ^actual LOG | sed 's/.*(//')
expected_line=$(grep ^expected LOG | sed 's/.*= <//')
actual_line=$(grep ^actual LOG | sed 's/.*= <//')
if [ "$expected_line" != "$actual_line" ]; then
echo packet mismatch