mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
tests: Make all globals readonly
Some of the globals were set as read-only variables whilst others weren't. However, they can all be read-only. Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
This commit is contained in:
parent
aeb59479cb
commit
c69eb00f9b
@ -4,11 +4,11 @@
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
rootfs_sh="$BATS_TEST_DIRNAME/../rootfs-builder/rootfs.sh"
|
||||
image_builder_sh="$BATS_TEST_DIRNAME/../image-builder/image_builder.sh"
|
||||
initrd_builder_sh="$BATS_TEST_DIRNAME/../initrd-builder/initrd_builder.sh"
|
||||
readonly rootfs_sh="$BATS_TEST_DIRNAME/../rootfs-builder/rootfs.sh"
|
||||
readonly image_builder_sh="$BATS_TEST_DIRNAME/../image-builder/image_builder.sh"
|
||||
readonly initrd_builder_sh="$BATS_TEST_DIRNAME/../initrd-builder/initrd_builder.sh"
|
||||
readonly tmp_dir=$(mktemp -t -d osbuilder-test.XXXXXXX)
|
||||
tmp_rootfs="${tmp_dir}/rootfs-osbuilder"
|
||||
readonly tmp_rootfs="${tmp_dir}/rootfs-osbuilder"
|
||||
|
||||
setup()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user