From patchwork Fri May 15 19:55:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 48577 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1B84A2121F for ; Fri, 15 May 2015 19:56:07 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf34374858lab.1 for ; Fri, 15 May 2015 12:56:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-subscribe:list-archive:list-post:list-help :sender:delivered-to:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-original-sender :x-original-authentication-results; bh=Z0zMyK7qLSgg6dzWbeSVFWwM1fpBq9rgT6ic//e6KEw=; b=hEqMCSBV0RWTyAU8U/owTlwJWKLSTYfnL71znQFUzLecysSMtc159dj2AnrqU7OdBW Sh2PI6f4S51a6cLSk9H8vjwmOOlqdEwRFSUqpgW9f+cztdlzlEp9SyhoEIYTuFD6Z3cN Qm9an9IS6OoSaxNRKlgFsVLnuc6Yov212kraARBAPhZgTYNFmLT2JdVI76ekS3yKrUXf RvjOtngR7WN6SGSQFYKKcV95iMlW2iVaRtL3LnB6620L325RHe0bqJBYdssNRVKaCFNt 7zma4GiWMmcJ/pf9KlP0yOGaYoFYGiwuNUDVRlLMajnc02Dkyxr28cZclS5CMytjWc3g IWXA== X-Gm-Message-State: ALoCoQk84ykrTQZuMnQVRcTY5yHT2MD2Vf2Hge+OyaUxVK6Yw9vi2ipwoXB3uZv7XCrDJKh/hTNz X-Received: by 10.112.189.131 with SMTP id gi3mr8135435lbc.6.1431719766026; Fri, 15 May 2015 12:56:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.244.162 with SMTP id xh2ls597309lac.108.gmail; Fri, 15 May 2015 12:56:05 -0700 (PDT) X-Received: by 10.152.87.204 with SMTP id ba12mr8582560lab.35.1431719765889; Fri, 15 May 2015 12:56:05 -0700 (PDT) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com. [2a00:1450:4010:c03::230]) by mx.google.com with ESMTPS id zl2si1712027lbb.55.2015.05.15.12.56.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 12:56:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) client-ip=2a00:1450:4010:c03::230; Received: by lagv1 with SMTP id v1so136476459lag.3 for ; Fri, 15 May 2015 12:56:05 -0700 (PDT) X-Received: by 10.112.150.100 with SMTP id uh4mr8225353lbb.112.1431719765766; Fri, 15 May 2015 12:56:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp2268208lbb; Fri, 15 May 2015 12:56:04 -0700 (PDT) X-Received: by 10.68.167.162 with SMTP id zp2mr21145547pbb.105.1431719764083; Fri, 15 May 2015 12:56:04 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id we5si4010421pac.67.2015.05.15.12.56.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 May 2015 12:56:04 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-58939-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 5745 invoked by alias); 15 May 2015 19:55:53 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Subscribe: List-Archive: List-Post: , List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 5733 invoked by uid 89); 15 May 2015 19:55:53 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qc0-f182.google.com X-Received: by 10.140.25.208 with SMTP id 74mr14282799qgt.104.1431719749915; Fri, 15 May 2015 12:55:49 -0700 (PDT) Message-ID: <55564F42.2070803@linaro.org> Date: Fri, 15 May 2015 16:55:46 -0300 From: Adhemerval Zanella User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: GNU C Library Subject: [PATCH] Fix stdlib/tst-setcontext3 with dash [BZ#18418] X-Original-Sender: adhemerval.zanella@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::230 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 This patch remove the non-portable array usage on tst-setcontext3.sh script. It fixes the testcase when using dash as default shell. Tested on x86_64. OK to apply? --- 2015-05-14 Adhemerval Zanella [BZ #18418] * stdlib/tst-setcontext3.sh: Remove non-portable array use. -- diff --git a/NEWS b/NEWS index 44803fa..a9ba85a 100644 --- a/NEWS +++ b/NEWS @@ -17,7 +17,8 @@ Version 2.22 17999, 18007, 18019, 18020, 18029, 18030, 18032, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, - 18217, 18220, 18221, 18247, 18287, 18319, 18333, 18346, 18397, 18409. + 18217, 18220, 18221, 18247, 18287, 18319, 18333, 18346, 18397, 18409, + 18418. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. diff --git a/stdlib/tst-setcontext3.sh b/stdlib/tst-setcontext3.sh index 6ad67a8..b48e6bb 100644 --- a/stdlib/tst-setcontext3.sh +++ b/stdlib/tst-setcontext3.sh @@ -29,14 +29,12 @@ test_pre="${test_program_prefix_before_env} ${run_program_env}" test="${test_program_prefix_after_env} ${objpfx}tst-setcontext3" out=${objpfx}tst-setcontext3.out -tempfiles=() cleanup() { - rm -f "${tempfiles[@]}" + rm -f $tempfile } trap cleanup 0 tempfile=$(mktemp "tst-setcontext3.XXXXXXXXXX") -tempfiles+=("$tempfile") # We want to run the test program and see if secontext called # exit() and wrote out the test file we specified. If the