[xen-tools-dev] [PATCH] Use hvc0 instead of tty1.

Stéphane Jourdois sjourdois at gmail.com
Sun Jul 11 15:38:51 CEST 2010


hvc0 is the new default serial line.
---
 t/hook-inittab.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/hook-inittab.t b/t/hook-inittab.t
index bdeaa39..9ac9df4 100755
--- a/t/hook-inittab.t
+++ b/t/hook-inittab.t
@@ -94,7 +94,7 @@ sub testHook
             #  1:2345:respawn:/sbin/getty 38400 console
             #
             ok( $1 eq "1", "We found the first getty line." );
-            ok( $3 eq "tty1", "Which does uses the correct driver: $3" );
+            ok( $3 eq "hvc0", "Which does uses the correct driver: $3" );
         }
 
         if ( $line =~ /^(.).*getty/ )
-- 
1.5.6.5



More information about the xen-tools-dev mailing list