Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sbin/gpt I was right - the output from gpt(8) did grow...



details:   https://anonhg.NetBSD.org/src/rev/0841127fcc9f
branches:  trunk
changeset: 342539:0841127fcc9f
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Dec 27 06:53:48 2015 +0000

description:
I was right - the output from gpt(8) did grow an extra space character!

Fix the test to expect it.  Test now passes on my local test bed.

diffstat:

 tests/sbin/gpt/t_gpt.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7db7570f374a -r 0841127fcc9f tests/sbin/gpt/t_gpt.sh
--- a/tests/sbin/gpt/t_gpt.sh   Sun Dec 27 06:36:36 2015 +0000
+++ b/tests/sbin/gpt/t_gpt.sh   Sun Dec 27 06:53:48 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_gpt.sh,v 1.13 2015/12/27 01:50:39 pgoyette Exp $
+# $NetBSD: t_gpt.sh,v 1.14 2015/12/27 06:53:48 pgoyette Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -160,7 +160,7 @@
        prepare_2part
        match "$(attrmsg 1)" gpt set -i 1 -a biosboot,bootme "$disk"
        save attr gpt show -i 1 "$disk"
-       match "^Attributes: biosboot,bootme\$" tail -1 attr
+       match "^Attributes: biosboot, bootme\$" tail -1 attr
        match "$(attrmsg 1)" gpt unset -i 1 -a biosboot,bootme "$disk"
        save attr gpt show -i 1 "$disk"
        match "^Attributes: None\$" tail -1 attr



Home | Main Index | Thread Index | Old Index