Module Name: src
Committed By: pgoyette
Date: Sun Dec 27 06:53:48 UTC 2015
Modified Files:
src/tests/sbin/gpt: t_gpt.sh
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tests/sbin/gpt/t_gpt.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/sbin/gpt/t_gpt.sh
diff -u src/tests/sbin/gpt/t_gpt.sh:1.13 src/tests/sbin/gpt/t_gpt.sh:1.14
--- src/tests/sbin/gpt/t_gpt.sh:1.13 Sun Dec 27 01:50:39 2015
+++ src/tests/sbin/gpt/t_gpt.sh Sun Dec 27 06:53:48 2015
@@ -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 @@ change_attr_2part_body() {
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