Source-Changes-HG archive

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

[src/trunk]: src/tests/sbin/gpt more variables



details:   https://anonhg.NetBSD.org/src/rev/5f7298c7039a
branches:  trunk
changeset: 342093:5f7298c7039a
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 05 18:53:29 2015 +0000

description:
more variables

diffstat:

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

diffs (22 lines):

diff -r 54c51402d321 -r 5f7298c7039a tests/sbin/gpt/t_gpt.sh
--- a/tests/sbin/gpt/t_gpt.sh   Sat Dec 05 18:52:11 2015 +0000
+++ b/tests/sbin/gpt/t_gpt.sh   Sat Dec 05 18:53:29 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_gpt.sh,v 1.9 2015/12/05 18:52:11 christos Exp $
+# $NetBSD: t_gpt.sh,v 1.10 2015/12/05 18:53:29 christos Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -248,9 +248,9 @@
 
 migrate_disklabel_body() {
        prepare
-       silence fdisk -fi gpt.disk
-       silence fdisk -fu0s 169/63/$((size / 10)) gpt.disk
-       silence disklabel -R gpt.disk "$src/gpt.disklabel"
+       silence fdisk -fi "$disk"
+       silence fdisk -fu0s "169/63/$((size / 10))" "$disk"
+       silence disklabel -R "$disk" "$src/gpt.disklabel"
        matcherr "$(migratemsg 5)" gpt migrate "$disk"
        file "$src/gpt.disklabel.show.normal" gpt show "$disk"
 }



Home | Main Index | Thread Index | Old Index