From patchwork Tue Apr 30 11:21:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dodji Seketeli X-Patchwork-Id: 89176 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A55323858294 for ; Tue, 30 Apr 2024 11:21:48 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 889903858C31 for ; Tue, 30 Apr 2024 11:21:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 889903858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 889903858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714476105; cv=none; b=RjoF06aRFpR7wglXBsxCkcd9RQd20LSD6LalQArsMfQyzeHPCQ4i78sODpvZ8AVUmP5Wp5m40CFyniDo9bBSbq6Kpl4ywAFa5qc1jTfbtc9j1mwVuq1HDYXOhkiegWNcOoR+oUdFsqW99gwunTaf2nFkZXlzQXNMufV6Ynia6bo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714476105; c=relaxed/simple; bh=dossReqU3dYZ2OW0Tb0MsebXG4z2FMlDP+AICjAEQyk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=dI+U4Mj3nvEd5ErgVXBATEZV0OBZtusbaGamjYDIvwwX7tYT+rS7XNBTP4Ia4EstM3MfFGbaPo5DS34R6doTVZqdlYRk7QzoxKFtYC/d7SFiFmggk+q2ff2GWlLy11ZF5NL3YLLeacr26jLdQQAdFERLrKARqTntsRBoTuR6xcA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714476103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=jw0Pv2JRG1e1TYUghHGaSuT7XCXsA1lldd0KxHpl1gM=; b=OshfFxEyTJ43g/IUhmHkpo+8tbI/9+6JUEu72CgxgLXLlSDMb56QECn9qYYJbqbMyLvx7k ptZBfxMpRDn+SswptnhsJsPh8tq2VMQnA1WvFs7j+UQB6hvzXhYTBgsbD6qS8b/bx2sH/4 5lkUHgVErqRYv6lEJoPQOfZyBHVyWmc= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-496-djUXjSDiOxaVpV1lBU4LpA-1; Tue, 30 Apr 2024 07:21:42 -0400 X-MC-Unique: djUXjSDiOxaVpV1lBU4LpA-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7925ddaaa87so47639085a.3 for ; Tue, 30 Apr 2024 04:21:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714476101; x=1715080901; h=mime-version:user-agent:message-id:date:organization:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jw0Pv2JRG1e1TYUghHGaSuT7XCXsA1lldd0KxHpl1gM=; b=joHrxjGwUQEsUO615wyDZJ2nHz/n10E2CS1gJyDCBCSskucbdC+XQ2bjye8yF8J8Oj f0br3ErkJlf6dY2CNSoXAiJI3PQt9A8RGw/Kul/s1EbUiYaN++uCIFZoxI2Ir3GeNcaD K7P7k9u8qnQ6PyRHE2nA7Qq4cX3NnGiZ3wl+tswIqxeHbnBd4nddfu0We8QDL+Yysf6i bLQKwRgAdTw6eXpr8y/2BlCt+2cvq4/UzJ0r/VAvkkmrumLqQnRE4eW6T6o9xJ54xycj BkwfKUlI/JEfvPLVD4j0y6drVJ/m4VTiXzBa2APYpkfAtYXk1JkvSH/TufTI9EaBVFjz /W7w== X-Gm-Message-State: AOJu0Yyn8kGn29GsuF1tx/aawHsIE2c9HFEfhkRjEciq9C2scaoN3k9Q fIvn8LB+O9PBfs5griXz5DWAETz2SZJ/6XWZzAXGhFktkIgvZRRScR+roxnH0DTAWA2B9TJfwB3 7WWuMppnMfaqAD+uUL35ESOOiXMOdTg5bhGmQxHJtqORYXXeIqddCU2jkBMyhulSeDg== X-Received: by 2002:a05:620a:ed2:b0:78f:19d2:ce9 with SMTP id x18-20020a05620a0ed200b0078f19d20ce9mr13038103qkm.57.1714476101125; Tue, 30 Apr 2024 04:21:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLx7t/axmF2GX7BYbgfCpYv6T86Odj48pF2bu+vlgPBEVx6Kv1RT++7xZvUAc8Libejg/Avw== X-Received: by 2002:a05:620a:ed2:b0:78f:19d2:ce9 with SMTP id x18-20020a05620a0ed200b0078f19d20ce9mr13038086qkm.57.1714476100677; Tue, 30 Apr 2024 04:21:40 -0700 (PDT) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id bi34-20020a05620a31a200b00790f8c85311sm1511544qkb.20.2024.04.30.04.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 04:21:40 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 843DD507A631; Tue, 30 Apr 2024 13:21:38 +0200 (CEST) From: Dodji Seketeli To: libabigail@sourceware.org Cc: sam@gentoo.org Subject: [PATCH, applied] tests/runtestabidb?.sh.in: Use bash shebang Organization: Red Hat / France X-Operating-System: AlmaLinux 9.3 X-URL: http://www.redhat.com Date: Tue, 30 Apr 2024 13:21:38 +0200 Message-ID: <87wmofdrjx.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Hello, 'function x() { ... }' is a bashism, but /bin/sh may be another shell, like dash. Just use an explicit /bin/bash shebang as the file relies on a few other bashisms like 'type'. * tests/runtestabidb[1-2].sh.in: Use bash shebang. Signed-off-by: Sam James Signed-off-by: Dodji Seketeli Applied to master. --- tests/runtestabidb1.sh.in | 2 +- tests/runtestabidb2.sh.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/runtestabidb1.sh.in b/tests/runtestabidb1.sh.in index 9a0dc059..580e91f9 100755 --- a/tests/runtestabidb1.sh.in +++ b/tests/runtestabidb1.sh.in @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # Run an abidb test based on the binaries right here diff --git a/tests/runtestabidb2.sh.in b/tests/runtestabidb2.sh.in index f2ce7adf..5029ebdc 100755 --- a/tests/runtestabidb2.sh.in +++ b/tests/runtestabidb2.sh.in @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # Run an abidb test based on the binaries right here