From 0a225479c7294bc13249079004f9d71afc052266 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 24 Jun 2019 13:45:06 +0200 Subject: [PATCH] Generate different test data --- doc/plan.org | 20 +++++++++++++++++++- netpfga/minip4/testdata/gen_testdata.py | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/doc/plan.org b/doc/plan.org index 96392e0..10fa2bd 100644 --- a/doc/plan.org +++ b/doc/plan.org @@ -4852,15 +4852,33 @@ success #+END_CENTER *** 2019-06-24: meeting laurent -*** 2019-06-24: begin porting original code to netpfga +*** 2019-06-24: begin porting original code to netpfga: packet mismatch - why?? #+BEGIN_CENTER + actual_line=actual (tlast, tkeep, tdata) = (0, ffffffff, 000000000000000080fe403b0a0000000060dd86012222222208022222222208) + [ expected (tlast, tkeep, tdata) = (0, ffffffff, 000000000000000080fe403b0a0000000060dd86022222222208012222222208) != actual (tlast, tkeep, tdata) = (0, ffffffff, 000000000000000080fe403b0a0000000060dd86012222222208022222222208) ] + echo packet mismatch packet mismatch +#+END_CENTER + +v2: + +#+BEGIN_CENTER ++ sed -e s/.*=