From 2033edc6581f9a9a521de9370afb194a85e607ed Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Fri, 16 Aug 2013 00:59:01 +0200 Subject: [PATCH] test: fix a trivial typo in libtests.sh When running the test-admin-deploy-1.sh unit test, cat shows the following error: cat: boot/vmlinuz-3-6.0: No such file or directory due a trivial typo in the kernel image file name. Signed-off-by: Javier Martinez Canillas https://bugzilla.gnome.org/show_bug.cgi?id=706371 --- tests/libtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libtest.sh b/tests/libtest.sh index 89d50b86..35051db9 100644 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -175,7 +175,7 @@ setup_os_repository () { echo "a kernel" > boot/vmlinuz-3.6.0 echo "an initramfs" > boot/initramfs-3.6.0 echo "a kernel module" > usr/lib/modules/3.6.0/foofs.ko - bootcsum=$(cat boot/vmlinuz-3-6.0 boot/initramfs-3.6.0 usr/lib/modules/3.6.0/foofs.ko | sha256sum | cut -f 1 -d ' ') + bootcsum=$(cat boot/vmlinuz-3.6.0 boot/initramfs-3.6.0 usr/lib/modules/3.6.0/foofs.ko | sha256sum | cut -f 1 -d ' ') export bootcsum mv boot/vmlinuz-3.6.0 boot/vmlinuz-3.6.0-${bootcsum} mv boot/initramfs-3.6.0 boot/initramfs-3.6.0-${bootcsum}