diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:40:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:40:50 +0000 |
commit | 10b5bfdee99e8161f353593ee3e85f4775b1dedc (patch) | |
tree | 958ac703fcfc692348b1564f02317e9f2ca67fd5 /test/framework | |
parent | Initial commit. (diff) | |
download | dkms-2c190e41d730e303e115277d9864cc178b8f10a9.tar.xz dkms-2c190e41d730e303e115277d9864cc178b8f10a9.zip |
Adding upstream version 3.0.13.upstream/3.0.13upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/framework')
-rw-r--r-- | test/framework/bad_cert_file_path.conf | 3 | ||||
-rw-r--r-- | test/framework/bad_key_file_path.conf | 1 | ||||
-rw-r--r-- | test/framework/bad_sign_file_path.conf | 1 | ||||
-rw-r--r-- | test/framework/hijacking.conf | 3 | ||||
-rw-r--r-- | test/framework/temp_key_cert.conf | 2 | ||||
-rw-r--r-- | test/framework/variables_in_path.conf | 3 |
6 files changed, 13 insertions, 0 deletions
diff --git a/test/framework/bad_cert_file_path.conf b/test/framework/bad_cert_file_path.conf new file mode 100644 index 0000000..34e1094 --- /dev/null +++ b/test/framework/bad_cert_file_path.conf @@ -0,0 +1,3 @@ +# The key file will be generated by openssl. Use a temporary path to avoid corrupting the default private key file on the system +mok_signing_key="/tmp/dkms_test_private_key" +mok_certificate="/no/such/path.crt" diff --git a/test/framework/bad_key_file_path.conf b/test/framework/bad_key_file_path.conf new file mode 100644 index 0000000..8f46b8d --- /dev/null +++ b/test/framework/bad_key_file_path.conf @@ -0,0 +1 @@ +mok_signing_key="/no/such/path.key" diff --git a/test/framework/bad_sign_file_path.conf b/test/framework/bad_sign_file_path.conf new file mode 100644 index 0000000..4ef51d2 --- /dev/null +++ b/test/framework/bad_sign_file_path.conf @@ -0,0 +1 @@ +sign_file="/no/such/file" diff --git a/test/framework/hijacking.conf b/test/framework/hijacking.conf new file mode 100644 index 0000000..476baa6 --- /dev/null +++ b/test/framework/hijacking.conf @@ -0,0 +1,3 @@ +do_status() { + echo "do_status() is hijacked!" +} diff --git a/test/framework/temp_key_cert.conf b/test/framework/temp_key_cert.conf new file mode 100644 index 0000000..9bde615 --- /dev/null +++ b/test/framework/temp_key_cert.conf @@ -0,0 +1,2 @@ +mok_signing_key="/tmp/dkms_test_private_key" +mok_certificate="/tmp/dkms_test_certificate" diff --git a/test/framework/variables_in_path.conf b/test/framework/variables_in_path.conf new file mode 100644 index 0000000..87213e6 --- /dev/null +++ b/test/framework/variables_in_path.conf @@ -0,0 +1,3 @@ +sign_file="/lib/modules/${kernelver}/build/scripts/sign-file" +mok_signing_key="/tmp/dkms_test_dir_${kernelver}/key" +mok_certificate="/tmp/dkms_test_dir_${kernelver}/cert" |