Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEC28C468BE for ; Fri, 7 Jun 2019 17:25:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A2B81207E0 for ; Fri, 7 Jun 2019 17:25:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729284AbfFGRZ6 (ORCPT ); Fri, 7 Jun 2019 13:25:58 -0400 Received: from orbyte.nwl.cc ([151.80.46.58]:36002 "EHLO orbyte.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728752AbfFGRZ5 (ORCPT ); Fri, 7 Jun 2019 13:25:57 -0400 Received: from localhost ([::1]:49092 helo=tatos) by orbyte.nwl.cc with esmtp (Exim 4.91) (envelope-from ) id 1hZIcm-0006zD-Aq; Fri, 07 Jun 2019 19:25:56 +0200 From: Phil Sutter To: Pablo Neira Ayuso Cc: netfilter-devel@vger.kernel.org Subject: [nft PATCH 0/4] Some fixes and minor improvements in tests/ Date: Fri, 7 Jun 2019 19:25:23 +0200 Message-Id: <20190607172527.22177-1-phil@nwl.cc> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org This series mostly adds missing bits and changes to JSON equivalents in tests/py to avoid errors when running the suite with -j flag. In addition to that, patch 3 fixes awk syntax in 0028delete_handle_0 test of tests/shell suite. Patch 4 improves the diff output upon dump errors in same suite by printing unified diffs instead of normal ones. Phil Sutter (4): tests/py: Fix JSON equivalents tests/py: Add missing arp.t JSON equivalents tests/shell: Fix warning from awk call tests/shell: Print unified diffs in dump errors tests/py/any/ct.t.json | 35 ++++-- tests/py/any/ct.t.json.output | 21 +++- tests/py/any/meta.t.json | 110 +++++++----------- tests/py/arp/arp.t.json | 64 ++++++++++ tests/py/arp/arp.t.json.output | 14 +-- tests/shell/run-tests.sh | 2 +- .../shell/testcases/sets/0028delete_handle_0 | 2 +- 7 files changed, 158 insertions(+), 90 deletions(-) -- 2.21.0