tests: Use #/usr/bin/env bash in scripts that use bash

Some systems don't have bash in /bin.

Signed-off-by: Mark Wielaard <mark@klomp.org>
This commit is contained in:
Mark Wielaard
2020-06-16 00:25:47 +02:00
parent 9698a39929
commit bca87ed8a2
30 changed files with 62 additions and 28 deletions
+4
View File
@@ -1,3 +1,7 @@
2020-06-16 Mark Wielaard <mark@klomp.org>
* upload-release.sh: Use /usr/bin/env bash.
2020-06-11 Mark Wielaard <mark@klomp.org>
* elfutils.spec.in: Update for 0.189.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Must be run in the source directory.
# Should have passed make distcheck.
+30
View File
@@ -1,3 +1,33 @@
2020-06-16 Mark Wielaard <mark@klomp.org>
* coverage.sh: Use /usr/bin/env bash.
* run-ar.sh: Likewise.
* run-backtrace-core-aarch64.sh: Likewise.
* run-backtrace-core-i386.sh: Likewise.
* run-backtrace-core-ppc.sh: Likewise.
* run-backtrace-core-s390.sh: Likewise.
* run-backtrace-core-s390x.sh: Likewise.
* run-backtrace-core-sparc.sh: Likewise.
* run-backtrace-core-x32.sh: Likewise.
* run-backtrace-core-x86_64.sh: Likewise.
* run-backtrace-data.sh: Likewise.
* run-backtrace-demangle.sh: Likewise.
* run-backtrace-dwarf.sh: Likewise.
* run-backtrace-fp-core-aarch64.sh: Likewise.
* run-backtrace-fp-core-i386.sh: Likewise.
* run-backtrace-fp-core-ppc64le.sh: Likewise.
* run-backtrace-fp-core-x86_64.sh: Likewise.
* run-backtrace-native-biarch.sh: Likewise.
* run-backtrace-native-core-biarch.sh: Likewise.
* run-backtrace-native-core.sh: Likewise.
* run-backtrace-native.sh: Likewise.
* run-debuginfod-find.sh: Likewise.
* run-deleted.sh: Likewise.
* run-dwelf_elf_e_machine_string.sh: Likewise.
* run-large-elf-file.sh: Likewise.
* run-lfs-symbols.sh: Likewise.
* run-linkmap-cut.sh: Likewise.
2020-06-11 Mark Wielaard <mark@klomp.org>
* Makefile.am (nlist-test): Add GCOV flags when necessary.
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
if [ "x$1" = "x-v" ]; then
verbose=yes
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2017 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2015 Oracle, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) H.J. Lu <hjl.tools@gmail.com>, 2015.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2014, 2015 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2017 The Qt Company
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2017 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2017 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2017 The Qt Company
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013, 2015 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013, 2015 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2013 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# Copyright (C) 2019-2020 Red Hat, Inc.
# This file is part of elfutils.
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2014 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Test to make sure all EM values in elf.h are recognized
# Copyright (C) 2019 Red Hat, Inc.
# This file is part of elfutils.
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2019 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2015 Red Hat, Inc.
# This file is part of elfutils.
#
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#! /usr/bin/env bash
# Copyright (C) 2014 Red Hat, Inc.
# This file is part of elfutils.
#