Source-Changes-HG archive

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

[src/trunk]: src/tests/sbin/gpt Update test - the attributes listed by the sh...



details:   https://anonhg.NetBSD.org/src/rev/320e3943c46b
branches:  trunk
changeset: 812674:320e3943c46b
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Dec 27 01:46:24 2015 +0000

description:
Update test - the attributes listed by the show command now have a space
in the comma-separated list.

This allows the test to once again pass.

diffstat:

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

diffs (18 lines):

diff -r 426661eeb972 -r 320e3943c46b tests/sbin/gpt/t_gpt.sh
--- a/tests/sbin/gpt/t_gpt.sh   Sun Dec 27 00:47:47 2015 +0000
+++ b/tests/sbin/gpt/t_gpt.sh   Sun Dec 27 01:46:24 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_gpt.sh,v 1.11 2015/12/06 00:38:30 christos Exp $
+# $NetBSD: t_gpt.sh,v 1.12 2015/12/27 01:46:24 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