This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=808ff61d6e2b457513b8de278a4736b1ee9fd310 commit 808ff61d6e2b457513b8de278a4736b1ee9fd310 Author: Guillem Jover <[email protected]> AuthorDate: Sat Mar 26 11:31:49 2022 +0100 test: Do not use non-POSIX shell syntax for arithmetic expressions Use «$(( ))», instead of the non-POSIX syntax «(( ))», as in other parts of the codebase. This fixes a test failure on Alpine Linux which uses Busybox ash to execute the generated test script. Unfortunately this is not being detected on systems with a dash POSIX shell, as it currently disables its LINENO support so that GNU autotools configure does not end up using it, and breaking due to bashisms (such as this one). Based-on-patch-by: Sören Tempel <[email protected]> --- src/at/deb-split.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/at/deb-split.at b/src/at/deb-split.at index 6378210c0..2bc3014a0 100644 --- a/src/at/deb-split.at +++ b/src/at/deb-split.at @@ -38,7 +38,7 @@ DEB_SPLIT_PART_SIZE=214222 DEB_SPLIT_LAST_LENGTH=183488 DEB_SPLIT_LAST_SIZE=183694 -((DEB_SPLIT_PART_SIZE_VERSION = DEB_SPLIT_PART_SIZE + 2)) +DEB_SPLIT_PART_SIZE_VERSION=$((DEB_SPLIT_PART_SIZE + 2)) AT_CHECK_UNQUOTED([ # Test debian-split with 2.x version @@ -66,7 +66,7 @@ pkg-split-part-version-2x.deb: ]) -((DEB_SPLIT_PART_SIZE_MAGIC_EXTRA = DEB_SPLIT_PART_SIZE + 10)) +DEB_SPLIT_PART_SIZE_MAGIC_EXTRA=$((DEB_SPLIT_PART_SIZE + 10)) AT_CHECK_UNQUOTED([ # Test debian-split with extra lines -- Dpkg.Org's dpkg

