gost_engine: fix and improve CI test
authorEneas U de Queiroz <[email protected]>
Fri, 14 Nov 2025 11:52:10 +0000 (08:52 -0300)
committerEneas U de Queiroz <[email protected]>
Fri, 14 Nov 2025 14:26:46 +0000 (11:26 -0300)
The test script was still using opkg to install openssl-util.  Use apk
instead, and move it to pre-test.sh so that openssl installation will
not depend on the order that the packages are tested.

Signed-off-by: Eneas U de Queiroz <[email protected]>
libs/gost_engine/pre-test.sh [new file with mode: 0644]
libs/gost_engine/test.sh

diff --git a/libs/gost_engine/pre-test.sh b/libs/gost_engine/pre-test.sh
new file mode 100644 (file)
index 0000000..d24fd6c
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+apk add openssl-util
index b2cef4b33f8a05585f5e537df91733019f4ecff6..52480c54099a09386264007d8d9117519506c2f5 100644 (file)
@@ -50,7 +50,6 @@ run_cipher_test() {
 
 case "$1" in
        libopenssl-gost_engine)
-               opkg install openssl-util
                run_md_test \
                        md_gost12_256 \
                        012345678901234567890123456789012345678901234567890123456789012 \