git: 5b6d576d22bc - stable/14 - tests: fix test for NULL encription
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Apr 2025 07:53:25 UTC
The branch stable/14 has been updated by ae:
URL: https://cgit.FreeBSD.org/src/commit/?id=5b6d576d22bc15e8f6e71358c86d6e0df6ab8bcd
commit 5b6d576d22bc15e8f6e71358c86d6e0df6ab8bcd
Author: Andrey V. Elsukov <ae@FreeBSD.org>
AuthorDate: 2025-03-25 07:23:40 +0000
Commit: Andrey V. Elsukov <ae@FreeBSD.org>
CommitDate: 2025-04-02 07:52:32 +0000
tests: fix test for NULL encription
After 04207850a9b9 it is required that key length is not zero.
Add some key to avoid error.
Reported by: markj
(cherry picked from commit b6708045590712930c533e916e3d6fdfe48ec5ba)
---
tests/sys/netipsec/tunnel/empty.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/sys/netipsec/tunnel/empty.sh b/tests/sys/netipsec/tunnel/empty.sh
index dc1d3708f744..56480d21f4ec 100755
--- a/tests/sys/netipsec/tunnel/empty.sh
+++ b/tests/sys/netipsec/tunnel/empty.sh
@@ -11,7 +11,7 @@ v4_head()
v4_body()
{
# Can't use filename "null" for this script: PR 223564
- ist_test 4 null ""
+ ist_test 4 null "1234"
}
v4_cleanup()
@@ -28,7 +28,7 @@ v6_head()
v6_body()
{
- ist_test 6 null ""
+ ist_test 6 null "5678"
}
v6_cleanup()