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/cgi-bin/gitweb.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 4c3befc12..7cd0c1945 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 f0369fd96..1d83729a4 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 5d797a6d9..9e462b518 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 1244c3393..bfee0bafb 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 c1b67e3a2..2b0c1ed5c 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 1265b589e..b56697999 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 effebe125..78027d8cf 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 0bc34fd24..9c79465fb 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 220411f2b..7b61df3b6 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 00c680119..b03f4e803 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 ff0fd53b5..9f3a62329 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 d4bc3927e..6fda80216 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 a725ad270..a55b1a7cd 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 6d8d3baad..09804d572 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 15809ef2b..10f2a5169 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 a9a6034b5..319e65ca0 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 33d143e6b..ae4c37f4d 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 0bea79acb..db4fb343f 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 5517080ca..93456f6de 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 3f223ce91..9bcc7d3fb 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 86ad5055d..1c2b04f51 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 ef1b27cae..61e456e2e 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 809cbd12c..7bf9a0fc3 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 b7f7142a6..4c967bcb9 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 8b539a046..9f6b897d2 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 4af2dcb74..2c3bd3725 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 22e2642b7..a7229c690 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