From 40a2fb3b076a5e6e5076c9d13359d79cc6adb467 Mon Sep 17 00:00:00 2001 From: Denis Pynkin Date: Fri, 17 Apr 2020 16:46:49 +0300 Subject: [PATCH] tests/signed-commit: fix the test of well-known places Commit e474033e removed the redirection of incorrect public keys aimed to generate a lot of files without correct public signature. Fix the test by returning back the creation of files containing incorrect public keys for ed25519. Signed-off-by: Denis Pynkin --- tests/test-signed-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-signed-commit.sh b/tests/test-signed-commit.sh index dd76f28f..4dcf38a4 100755 --- a/tests/test-signed-commit.sh +++ b/tests/test-signed-commit.sh @@ -182,7 +182,7 @@ echo "ok sign with ed25519 keys file" mkdir -p ${test_tmpdir}/{trusted,revoked}.ed25519.d for((i=0;i<100;i++)); do # Generate some key files with random public signatures - gen_ed25519_random_public + gen_ed25519_random_public > ${test_tmpdir}/trusted.ed25519.d/signature_$i done # Check no valid public keys are available if ${CMD_PREFIX} ostree --repo=${test_tmpdir}/repo sign --verify --sign-type=ed25519 --keys-dir=${test_tmpdir} ${COMMIT}; then