[ostree] tests: Fix u-boot test failure
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] tests: Fix u-boot test failure
- Date: Tue, 25 Nov 2014 20:21:26 +0000 (UTC)
commit 038ba3dade7d285167bdb3ae5caa45b27c11bf79
Author: Colin Walters <walters verbum org>
Date: Tue Nov 25 15:21:11 2014 -0500
tests: Fix u-boot test failure
This bit needs to be specific to syslinux.
tests/admin-test.sh | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tests/admin-test.sh b/tests/admin-test.sh
index ebb1884..f0e2e64 100755
--- a/tests/admin-test.sh
+++ b/tests/admin-test.sh
@@ -1,4 +1,3 @@
-#!/bin/bash
#
# Copyright (C) 2011,2014 Colin Walters <walters verbum org>
#
@@ -29,7 +28,9 @@ ostree admin --sysroot=sysroot deploy --karg=root=LABEL=MOO --karg=quiet --os=te
ostree admin --sysroot=sysroot status | tee status.txt
assert_file_has_content status.txt 'Version: 1.0.10'
-assert_file_has_content sysroot/boot/loader/syslinux.cfg 'TestOS 42 1.0.10'
+if test -f sysroot/boot/loader/syslinux.cfg; then
+ assert_file_has_content sysroot/boot/loader/syslinux.cfg 'TestOS 42 1.0.10'
+fi
echo "ok deploy command"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]