summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/all.sh2
-rwxr-xr-xtests/bc/timeconst.sh2
-rw-r--r--tests/bcl.c2
-rwxr-xr-xtests/dc/scripts/easter.sh2
-rwxr-xr-xtests/error.sh2
-rwxr-xr-xtests/errors.sh2
-rwxr-xr-xtests/history.py6
-rwxr-xr-xtests/history.sh2
-rwxr-xr-xtests/other.sh6
-rwxr-xr-xtests/read.sh2
-rwxr-xr-xtests/script.sh2
-rwxr-xr-xtests/scripts.sh2
-rwxr-xr-xtests/stdin.sh2
-rwxr-xr-xtests/test.sh2
14 files changed, 18 insertions, 18 deletions
diff --git a/tests/all.sh b/tests/all.sh
index 9174d3982606..28631c048e71 100755
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/bc/timeconst.sh b/tests/bc/timeconst.sh
index fbd2909e0992..35bd80d56040 100755
--- a/tests/bc/timeconst.sh
+++ b/tests/bc/timeconst.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/bcl.c b/tests/bcl.c
index 5bb50c29a753..3a2df4488c05 100644
--- a/tests/bcl.c
+++ b/tests/bcl.c
@@ -3,7 +3,7 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*
- * Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+ * Copyright (c) 2018-2024 Gavin D. Howard and contributors.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
diff --git a/tests/dc/scripts/easter.sh b/tests/dc/scripts/easter.sh
index 1f8e7aa797fb..ee8fa1d94c81 100755
--- a/tests/dc/scripts/easter.sh
+++ b/tests/dc/scripts/easter.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/error.sh b/tests/error.sh
index b87a3d354477..15cbd5577ed6 100755
--- a/tests/error.sh
+++ b/tests/error.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/errors.sh b/tests/errors.sh
index 081beb724118..47053f9c7b43 100755
--- a/tests/errors.sh
+++ b/tests/errors.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/history.py b/tests/history.py
index ced05fe7219f..a3b722386a62 100755
--- a/tests/history.py
+++ b/tests/history.py
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -126,8 +126,8 @@ def write_str(child, s):
# Check the bc banner.
# @param child The child process.
def bc_banner(child):
- bc_banner1 = "bc [0-9]+\.[0-9]+\.[0-9]+\r\n"
- bc_banner2 = "Copyright \(c\) 2018-[2-9][0-9][0-9][0-9] Gavin D. Howard and contributors\r\n"
+ bc_banner1 = "bc [0-9]+\\.[0-9]+\\.[0-9]+\r\n"
+ bc_banner2 = "Copyright \\(c\\) 2018-[2-9][0-9][0-9][0-9] Gavin D. Howard and contributors\r\n"
bc_banner3 = "Report bugs at: https://git.gavinhoward.com/gavin/bc\r\n\r\n"
bc_banner4 = "This is free software with ABSOLUTELY NO WARRANTY.\r\n\r\n"
expect(child, bc_banner1)
diff --git a/tests/history.sh b/tests/history.sh
index e68d568dcec1..d06d3c6af104 100755
--- a/tests/history.sh
+++ b/tests/history.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/other.sh b/tests/other.sh
index c3a739a32e7e..1012fe919dea 100755
--- a/tests/other.sh
+++ b/tests/other.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@@ -308,14 +308,14 @@ else
printf '0\n' > "$ext_reg_res"
- "$exe" "$@" -e "gxpR" 2> /dev/null > "$ext_reg_out"
+ printf '%s\n' "$halt" | "$exe" "$@" -e "gxpR" 2> /dev/null > "$ext_reg_out"
err="$?"
checktest "$d" "$err" "Extended register command" "$ext_reg_out" "$ext_reg_res"
printf '1\n' > "$ext_reg_res"
- "$exe" "$@" -x -e "gxpR" 2> /dev/null > "$ext_reg_out"
+ printf '%s\n' "$halt" | "$exe" "$@" -x -e "gxpR" 2> /dev/null > "$ext_reg_out"
err="$?"
checktest "$d" "$err" "Extended register command" "$ext_reg_out" "$ext_reg_res"
diff --git a/tests/read.sh b/tests/read.sh
index 4881c10db58c..fd4b9b6721a5 100755
--- a/tests/read.sh
+++ b/tests/read.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/script.sh b/tests/script.sh
index bd16ce7eb3c8..b1346ef09904 100755
--- a/tests/script.sh
+++ b/tests/script.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/scripts.sh b/tests/scripts.sh
index dda57e435059..2c8af6c06df0 100755
--- a/tests/scripts.sh
+++ b/tests/scripts.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/stdin.sh b/tests/stdin.sh
index a650c5b996a6..7061e950367e 100755
--- a/tests/stdin.sh
+++ b/tests/stdin.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
diff --git a/tests/test.sh b/tests/test.sh
index 343705bf10a9..7b5916f02990 100755
--- a/tests/test.sh
+++ b/tests/test.sh
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-2-Clause
#
-# Copyright (c) 2018-2023 Gavin D. Howard and contributors.
+# Copyright (c) 2018-2024 Gavin D. Howard and contributors.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: