From 147f09e62e2a2625890f4976fe0c710059b0794b Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 4 Apr 2023 18:24:27 -0700 Subject: [PATCH] scripts: Dump registers before and after running tests Signed-off-by: Alex Forencich --- scripts/test_mqnic.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/test_mqnic.sh b/scripts/test_mqnic.sh index 2948a672c..a82a946be 100755 --- a/scripts/test_mqnic.sh +++ b/scripts/test_mqnic.sh @@ -170,7 +170,7 @@ logdir=$base_logdir/$logname mkdir -p $logdir -echo "$nic_info" > $logdir/mqnic_dump.log +echo "$nic_info" > $logdir/mqnic_dump_pre.log { @@ -451,3 +451,5 @@ echo echo "Done" } | tee $logdir/test.log 2>&1 + +$netns_cmd $mqnic_dump -d $netdev > $logdir/mqnic_dump_post.log