From: Eric Bollengier Date: Mon, 25 Mar 2024 17:08:20 +0000 (+0100) Subject: regress: Fix unittests on ubunbut where sh is dash X-Git-Tag: Release-15.0.3~80 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=5c4f3221918e7d5312fe2594f3103900a9c7891a;p=thirdparty%2Fbacula.git regress: Fix unittests on ubunbut where sh is dash --- diff --git a/regress/tests/alist-unittests b/regress/tests/alist-unittests index 4c3befc121..7cd0c19450 100755 --- a/regress/tests/alist-unittests +++ b/regress/tests/alist-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/base32-unittests b/regress/tests/base32-unittests index f0369fd96f..1d83729a42 100755 --- a/regress/tests/base32-unittests +++ b/regress/tests/base32-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/base64-unittests b/regress/tests/base64-unittests index 5d797a6d98..9e462b5181 100755 --- a/regress/tests/base64-unittests +++ b/regress/tests/base64-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/bpipe-unittests b/regress/tests/bpipe-unittests index 1244c3393f..bfee0bafba 100755 --- a/regress/tests/bpipe-unittests +++ b/regress/tests/bpipe-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/breaddir-unittests b/regress/tests/breaddir-unittests index c1b67e3a2f..2b0c1ed5ca 100755 --- a/regress/tests/breaddir-unittests +++ b/regress/tests/breaddir-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/bsnprintf-unittests b/regress/tests/bsnprintf-unittests index 1265b589e4..b566979998 100755 --- a/regress/tests/bsnprintf-unittests +++ b/regress/tests/bsnprintf-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/bsock-unittests b/regress/tests/bsock-unittests index effebe1250..78027d8cff 100755 --- a/regress/tests/bsock-unittests +++ b/regress/tests/bsock-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/bsockcore-unittests b/regress/tests/bsockcore-unittests index 0bc34fd24e..9c79465fbe 100755 --- a/regress/tests/bsockcore-unittests +++ b/regress/tests/bsockcore-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/bstat-unittests b/regress/tests/bstat-unittests index 220411f2b9..7b61df3b65 100755 --- a/regress/tests/bstat-unittests +++ b/regress/tests/bstat-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/cdp-unittests b/regress/tests/cdp-unittests index 00c6801199..b03f4e803f 100755 --- a/regress/tests/cdp-unittests +++ b/regress/tests/cdp-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/collect-unittests b/regress/tests/collect-unittests index ff0fd53b5b..9f3a62329d 100755 --- a/regress/tests/collect-unittests +++ b/regress/tests/collect-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2023 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/crypto-unittests b/regress/tests/crypto-unittests index d4bc3927eb..6fda802167 100755 --- a/regress/tests/crypto-unittests +++ b/regress/tests/crypto-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2018 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/dlist-unittests b/regress/tests/dlist-unittests index a725ad2701..a55b1a7cd5 100755 --- a/regress/tests/dlist-unittests +++ b/regress/tests/dlist-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2019 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/docker-dkid-unittests b/regress/tests/docker-dkid-unittests index 6d8d3baad4..09804d5722 100755 --- a/regress/tests/docker-dkid-unittests +++ b/regress/tests/docker-dkid-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/edit-unittests b/regress/tests/edit-unittests index 15809ef2b3..10f2a51690 100755 --- a/regress/tests/edit-unittests +++ b/regress/tests/edit-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2015 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/flist-unittests b/regress/tests/flist-unittests index a9a6034b56..319e65ca08 100755 --- a/regress/tests/flist-unittests +++ b/regress/tests/flist-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/fnmatch-unittests b/regress/tests/fnmatch-unittests index 33d143e6b0..ae4c37f4d1 100755 --- a/regress/tests/fnmatch-unittests +++ b/regress/tests/fnmatch-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/htable-unittests b/regress/tests/htable-unittests index 0bea79acbd..db4fb343f4 100755 --- a/regress/tests/htable-unittests +++ b/regress/tests/htable-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/ilist-unittests b/regress/tests/ilist-unittests index 5517080ca9..93456f6dee 100755 --- a/regress/tests/ilist-unittests +++ b/regress/tests/ilist-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/ini-unittests b/regress/tests/ini-unittests index 3f223ce911..9bcc7d3fb6 100755 --- a/regress/tests/ini-unittests +++ b/regress/tests/ini-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/lockmgr-unittests b/regress/tests/lockmgr-unittests index 86ad5055d0..1c2b04f51a 100755 --- a/regress/tests/lockmgr-unittests +++ b/regress/tests/lockmgr-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/output-unittests b/regress/tests/output-unittests index ef1b27caec..61e456e2e8 100755 --- a/regress/tests/output-unittests +++ b/regress/tests/output-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/scan-unittests b/regress/tests/scan-unittests index 809cbd12c6..7bf9a0fc33 100755 --- a/regress/tests/scan-unittests +++ b/regress/tests/scan-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2019 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/sellist-unittests b/regress/tests/sellist-unittests index b7f7142a69..4c967bcb93 100755 --- a/regress/tests/sellist-unittests +++ b/regress/tests/sellist-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/sha1-unittests b/regress/tests/sha1-unittests index 8b539a0462..9f6b897d2d 100755 --- a/regress/tests/sha1-unittests +++ b/regress/tests/sha1-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2022 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/tags-unittests b/regress/tests/tags-unittests index 4af2dcb740..2c3bd37253 100755 --- a/regress/tests/tags-unittests +++ b/regress/tests/tags-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2018 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS diff --git a/regress/tests/xattr-list-append-unittests b/regress/tests/xattr-list-append-unittests index 22e2642b73..a7229c6906 100755 --- a/regress/tests/xattr-list-append-unittests +++ b/regress/tests/xattr-list-append-unittests @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # Copyright (C) 2000-2018 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS