Received: by 10.223.164.200 with SMTP id h8csp733324wrb; Sun, 5 Nov 2017 20:05:23 -0800 (PST) X-Google-Smtp-Source: ABhQp+To+n7Yhx+O8CAwW5A7MqxZ4uBi1o3hKG8w+gBfbagw6XDChgERXRKxFE/G7rcQn757FL0G X-Received: by 10.159.195.69 with SMTP id z5mr13458612pln.183.1509941122954; Sun, 05 Nov 2017 20:05:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509941122; cv=none; d=google.com; s=arc-20160816; b=C7zXN/1yB8J5kvwjoKIZLGca6zlmTf3dY0Mm9KS1mju6intJRZuFStr5T7xc7F1nmu x9PKQv8Z8hnyxxYpfAahIwI6lQYYOsGGMXdVrgwDRs4voexKW13GGA+MIbva9Nv1gOHf VYkQ2mKaa4wzlGj8Z15zVdZa4c9r/jc4VlEaHGsFy4wbpHVhg5Hpnlzbh6a7MUsyYLsX Hbf9JLEDm5Rc1ElygddghuQswAWzdcIkOVs9yur4jSg98vnuWDjYGdEzIdT1/NIiQM7+ qrgue9wWMwcF4xSHdoiGv5ho/Kc7+6fZINMfl6k8n20b7f/rp3mrcNO/4wuqrR24jg1z vtHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from:arc-authentication-results; bh=9ULGrD3I14Q8bflAYHNaAWEgTqGi40HFTNtgwCbJUkM=; b=OYJvYh04q1PvrVHZUFz5cKoACACrhE91CTqcAVToJmk3OrdF9Ykj8XtrWo9e2HnIk/ NVteanFRZAumhMvHxxz25v6nG/dP1GtCbLc5tHGRPljSR8Xp4G6IgCwWvhkhHLQMgSli 2L98Pp5G9i41N1QF5KqsHcDN8mP8CWb1WdlBfMNckXmKH5XPkpZgMyPN28sJ0Sjz8nzG EWro/quP2UAPpmOLn+XmVMs2ajbeKuzJ6mgblNq4XqRCG65ZBN7JkMs012wYHn1Q9EgL bT7lpSjL4FVJcpAw7yp5dsx1O1ieILag5npKPN6FA75PcwqpvqE8dMb1iJRYClTG4G2K y2fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k69si10552753pgd.749.2017.11.05.20.05.09; Sun, 05 Nov 2017 20:05:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751511AbdKFED4 (ORCPT + 96 others); Sun, 5 Nov 2017 23:03:56 -0500 Received: from mail1.windriver.com ([147.11.146.13]:61987 "EHLO mail1.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbdKFEDz (ORCPT ); Sun, 5 Nov 2017 23:03:55 -0500 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.15.2/8.15.1) with ESMTPS id vA643rs8021516 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Sun, 5 Nov 2017 20:03:53 -0800 (PST) Received: from pek-lyang0-d1.corp.ad.wrs.com (128.224.163.162) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.361.1; Sun, 5 Nov 2017 20:03:53 -0800 From: Lei Yang To: , , , Subject: [PATCH] selftests: futex: fix compilation error Date: Mon, 6 Nov 2017 12:03:29 +0800 Message-ID: <1509941009-11521-1-git-send-email-Lei.Yang@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I run into below error when building futext /bin/sh: -c: line 5: syntax error: unexpected end of file the closing ";" and "\" are necessary. My OS is "Ubuntu 14.04.5 LTS" Signed-off-by: Lei Yang --- tools/testing/selftests/futex/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile index f0c0369..943f3a2 100644 --- a/tools/testing/selftests/futex/Makefile +++ b/tools/testing/selftests/futex/Makefile @@ -11,9 +11,9 @@ all: BUILD_TARGET=$(OUTPUT)/$$DIR; \ mkdir $$BUILD_TARGET -p; \ make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\ - if [ -e $$DIR/$(TEST_PROGS) ]; then - rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; - fi + if [ -e $$DIR/$(TEST_PROGS) ]; then \ + rsync -a $$DIR/$(TEST_PROGS) $$BUILD_TARGET/; \ + fi \ done override define RUN_TESTS -- 1.9.1 From 1585861678797473758@xxx Mon Dec 04 13:52:32 +0000 2017 X-GM-THRID: 1585861678797473758 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread