From patchwork Mon Jul 10 20:00:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 107322 Delivered-To: patch@linaro.org Received: by 10.182.72.42 with SMTP id a10csp3823619obv; Mon, 10 Jul 2017 13:00:51 -0700 (PDT) X-Received: by 10.200.42.181 with SMTP id b50mr6487785qta.122.1499716851659; Mon, 10 Jul 2017 13:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499716851; cv=none; d=google.com; s=arc-20160816; b=uNkbF3C6I+Sq+XmiHYma0ki5m9l7eXg+tqFU8Zd/K3tKrj4BXYXvHF1SOgrFBVp+6j 60OUdFchEGcZrWJw5SqJOVTE05720NcmJmeHCr+TW8giUVGvveBHcsYetITPhmvxigKe 1+l769b8wR2diC4/iMlwvCP2f+h8JluaFb5yYNzADVhjG+JFqS1eBFC/VaLQ2pFrqfg5 2i3wAxq96zas0MS62BFSl5dURvAp5B1J1qH6rOBGkZdeqfXZia96RCWN/8SxLy1Bc835 vqvEJnn2/vVc2JqgGopTn6LeI8GTweufC3efvkkvM6IludR0gYXD4Po+mE7othSO+7z2 FSIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=PWMxDNUNgawdS14NLd53GOJrRILbwE4aYFC8CRiSMpQ=; b=i6h9miQXyo2UOwLsVMLzCnlLvpJEF+VNWt1gnM/KO4cji493wOLfzHD+cKbSa0qyqe Zeh/BW3jH5fEYK6fKnKKzEIS64JAKUSOyKWyIp1BVyZQvW49q4CcXUMjwDNNv5tMsukL W8wGOU9VpSKDKV/tsAYZZdXRwu8fW7abg3neSLZJ8XBeKMdR51Ju4Tm6gw5GcIk1y36P mWe2a9/KN29cy7X0vtXxsLQ3tt2uva1OvRKygBz9phfJXeJ4Tqf+MdIl28mNSsW2XOOO 8ACunrqcgVYsK+1SN5Da9/pkk2lbJie6IwLUKrtuTLPRgGo0Tqko9s20+htZuRlvabLI 1iQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c2si11611323qkf.340.2017.07.10.13.00.51; Mon, 10 Jul 2017 13:00:51 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 50F0064476; Mon, 10 Jul 2017 20:00:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E176A60C25; Mon, 10 Jul 2017 20:00:22 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 3FBED60856; Mon, 10 Jul 2017 20:00:19 +0000 (UTC) Received: from forward3m.cmail.yandex.net (forward3m.cmail.yandex.net [5.255.216.21]) by lists.linaro.org (Postfix) with ESMTPS id 2220A60677 for ; Mon, 10 Jul 2017 20:00:18 +0000 (UTC) Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::122]) by forward3m.cmail.yandex.net (Yandex) with ESMTP id CF3DF20D47 for ; Mon, 10 Jul 2017 23:00:16 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id A9EC52300CFA for ; Mon, 10 Jul 2017 23:00:16 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id JjKiuef2uk-0FROnssR; Mon, 10 Jul 2017 23:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Mon, 10 Jul 2017 23:00:05 +0300 Message-Id: <1499716806-18707-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499716806-18707-1-git-send-email-odpbot@yandex.ru> References: <1499716806-18707-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 72 Subject: [lng-odp] [PATCH v1 2/3] test: ipc pktio use /dev/shm instead of tmp X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 72 (muvarov:master_ipc_pkt_free_fix) ** https://github.com/Linaro/odp/pull/72 ** Patch: https://github.com/Linaro/odp/pull/72.patch ** Base sha: 5a2ed3eefb1a263139282c376741adb2c355bd5a ** Merge commit sha: 5853863d527ef327a244740d931cd2d0fb05db5f **/ test/linux-generic/pktio_ipc/pktio_ipc_run.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/test/linux-generic/pktio_ipc/pktio_ipc_run.sh b/test/linux-generic/pktio_ipc/pktio_ipc_run.sh index 331ecdc9..c53de457 100755 --- a/test/linux-generic/pktio_ipc/pktio_ipc_run.sh +++ b/test/linux-generic/pktio_ipc/pktio_ipc_run.sh @@ -34,11 +34,11 @@ run() (kill ${IPC_PID} 2>&1 > /dev/null ) > /dev/null if [ $? -eq 0 ]; then echo "pktio_ipc1${EXEEXT} was killed" - ls -l /tmp/odp* 2> /dev/null - rm -rf /tmp/odp-${IPC_PID}* 2>&1 > /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null + rm -rf /dev/shm/${UID}/odp-${IPC_PID}* 2>&1 > /dev/null else echo "normal exit of 2 application" - ls -l /tmp/odp* 2> /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null fi if [ $ret -ne 0 ]; then @@ -60,20 +60,20 @@ run() (kill ${IPC_PID} 2>&1 > /dev/null ) > /dev/null if [ $? -eq 0 ]; then echo "pktio_ipc2${EXEEXT} was killed" - ls -l /tmp/odp* 2> /dev/null - rm -rf /tmp/odp-${IPC_PID}* 2>&1 > /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null + rm -rf /dev/shm/${UID}/odp-${IPC_PID}* 2>&1 > /dev/null else echo "normal exit of 2 application" - ls -l /tmp/odp* 2> /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null fi if [ $ret -ne 0 ]; then echo "!!! FAILED !!!" - ls -l /tmp/odp* 2> /dev/null - rm -rf /tmp/odp-${IPC_PID}* 2>&1 > /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null + rm -rf /dev/shm/${UID}/odp-${IPC_PID}* 2>&1 > /dev/null exit $ret else - ls -l /tmp/odp* 2> /dev/null + ls -l /dev/shm/${UID}/odp* 2> /dev/null echo "Second stage PASSED" fi