Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/sbin/gpt Adapt to recent gpt(8) change which now issue...
details: https://anonhg.NetBSD.org/src/rev/06f9372bef10
branches: trunk
changeset: 372393:06f9372bef10
user: kre <kre%NetBSD.org@localhost>
date: Mon Nov 21 16:06:00 2022 +0000
description:
Adapt to recent gpt(8) change which now issues a message when
the secondary GPT header is moved. Do it this way rather than
just using -q to suppress the message, so the test verifies that
the appropriate action was taken.
diffstat:
tests/sbin/gpt/t_gpt.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 956d002708c0 -r 06f9372bef10 tests/sbin/gpt/t_gpt.sh
--- a/tests/sbin/gpt/t_gpt.sh Mon Nov 21 15:36:29 2022 +0000
+++ b/tests/sbin/gpt/t_gpt.sh Mon Nov 21 16:06:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_gpt.sh,v 1.16 2017/03/22 19:13:40 martin Exp $
+# $NetBSD: t_gpt.sh,v 1.17 2022/11/21 16:06:00 kre Exp $
#
# Copyright (c) 2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -239,7 +239,7 @@
resize_2part_body() {
prepare_2part
zerodd seek="$newsize" count=1
- silence gpt resizedisk "$disk"
+ match 'Moving secondary GPT header' gpt resizedisk "$disk"
file "$src/gpt.resizedisk.show.normal" gpt show "$disk"
match "$(partresmsg 2 1058 19390)" gpt resize -i 2 "$disk"
file "$src/gpt.resizepart.show.normal" gpt show "$disk"
Home |
Main Index |
Thread Index |
Old Index