{"id":812562,"url":"http://patchwork.ozlabs.org/api/patches/812562/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/patch/20170911193711.8532-1-aserdean@ovn.org/","project":{"id":47,"url":"http://patchwork.ozlabs.org/api/projects/47/?format=json","name":"Open vSwitch","link_name":"openvswitch","list_id":"ovs-dev.openvswitch.org","list_email":"ovs-dev@openvswitch.org","web_url":"http://openvswitch.org/","scm_url":"git@github.com:openvswitch/ovs.git","webscm_url":"https://github.com/openvswitch/ovs","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170911193711.8532-1-aserdean@ovn.org>","list_archive_url":null,"date":"2017-09-11T19:37:11","name":"[ovs-dev] tests: Skip OVN test if truncate command not found","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"4e61c0bad2b12ee748ac1f8b99eb59b7867bfe19","submitter":{"id":72181,"url":"http://patchwork.ozlabs.org/api/people/72181/?format=json","name":"Alin-Gabriel Serdean","email":"aserdean@ovn.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/openvswitch/patch/20170911193711.8532-1-aserdean@ovn.org/mbox/","series":[{"id":2554,"url":"http://patchwork.ozlabs.org/api/series/2554/?format=json","web_url":"http://patchwork.ozlabs.org/project/openvswitch/list/?series=2554","date":"2017-09-11T19:37:11","name":"[ovs-dev] tests: Skip OVN test if truncate command not found","version":1,"mbox":"http://patchwork.ozlabs.org/series/2554/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812562/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812562/checks/","tags":{},"related":[],"headers":{"Return-Path":"<ovs-dev-bounces@openvswitch.org>","X-Original-To":["incoming@patchwork.ozlabs.org","dev@openvswitch.org"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","ovs-dev@mail.linuxfoundation.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=openvswitch.org\n\t(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;\n\tenvelope-from=ovs-dev-bounces@openvswitch.org;\n\treceiver=<UNKNOWN>)","Received":["from mail.linuxfoundation.org (mail.linuxfoundation.org\n\t[140.211.169.12])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrdVm2psCz9s7C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 05:37:36 +1000 (AEST)","from mail.linux-foundation.org (localhost [127.0.0.1])\n\tby mail.linuxfoundation.org (Postfix) with ESMTP id 6B81DC0D;\n\tMon, 11 Sep 2017 19:37:25 +0000 (UTC)","from smtp1.linuxfoundation.org (smtp1.linux-foundation.org\n\t[172.17.192.35])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPS id 4CCE6C05\n\tfor <dev@openvswitch.org>; Mon, 11 Sep 2017 19:37:24 +0000 (UTC)","from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net\n\t[217.70.183.195])\n\tby smtp1.linuxfoundation.org (Postfix) with ESMTPS id 54D3620C\n\tfor <dev@openvswitch.org>; Mon, 11 Sep 2017 19:37:23 +0000 (UTC)","from localhost.localdomain (unknown [79.114.118.98])\n\t(Authenticated sender: aserdean@ovn.org)\n\tby relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A31B7A80D9;\n\tMon, 11 Sep 2017 21:37:20 +0200 (CEST)"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-Originating-IP":"79.114.118.98","From":"Alin Gabriel Serdean <aserdean@ovn.org>","To":"dev@openvswitch.org","Date":"Mon, 11 Sep 2017 22:37:11 +0300","Message-Id":"<20170911193711.8532-1-aserdean@ovn.org>","X-Mailer":"git-send-email 2.10.2.windows.1","X-Spam-Status":"No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW\n\tautolearn=disabled version=3.3.1","X-Spam-Checker-Version":"SpamAssassin 3.3.1 (2010-03-16) on\n\tsmtp1.linux-foundation.org","Cc":"Alin Gabriel Serdean <aserdean@ovn.org>","Subject":"[ovs-dev] [PATCH] tests: Skip OVN test if truncate command not found","X-BeenThere":"ovs-dev@openvswitch.org","X-Mailman-Version":"2.1.12","Precedence":"list","List-Id":"<ovs-dev.openvswitch.org>","List-Unsubscribe":"<https://mail.openvswitch.org/mailman/options/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=unsubscribe>","List-Archive":"<http://mail.openvswitch.org/pipermail/ovs-dev/>","List-Post":"<mailto:ovs-dev@openvswitch.org>","List-Help":"<mailto:ovs-dev-request@openvswitch.org?subject=help>","List-Subscribe":"<https://mail.openvswitch.org/mailman/listinfo/ovs-dev>,\n\t<mailto:ovs-dev-request@openvswitch.org?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"ovs-dev-bounces@openvswitch.org","Errors-To":"ovs-dev-bounces@openvswitch.org"},"content":"Test: \"testing ovn -- ensure one gw controller restart in HA doesn't\nbounce the master\" uses the command `truncate`.\n\nSkip the test if the command is not found.\n\nSigned-off-by: Alin Gabriel Serdean <aserdean@ovn.org>\n---\n tests/ovn.at | 1 +\n 1 file changed, 1 insertion(+)","diff":"diff --git a/tests/ovn.at b/tests/ovn.at\nindex f203529..4563964 100644\n--- a/tests/ovn.at\n+++ b/tests/ovn.at\n@@ -8432,6 +8432,7 @@ AT_CLEANUP\n \n AT_SETUP([ovn -- ensure one gw controller restart in HA doesn't bounce the master])\n AT_SKIP_IF([test $HAVE_PYTHON = no])\n+AT_SKIP_IF([!(test -x \"$(command -v truncate)\")])\n ovn_start\n \n net_add n1\n","prefixes":["ovs-dev"]}