From a691cc523e0b6062a45d9fa814b8956b68e51e68 Mon Sep 17 00:00:00 2001
From: grev <grev>
Date: Mon, 17 Dec 2007 10:21:01 +0000
Subject: [PATCH] b=13774 i=Adilger

use file with major,minor from /dev/console
---
 lustre/tests/sanity.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh
index e64c73baeb..cd962eb449 100644
--- a/lustre/tests/sanity.sh
+++ b/lustre/tests/sanity.sh
@@ -2244,12 +2244,8 @@ run_test 54d "fifo device works in lustre ======================"
 test_54e() {
 	check_kernel_version 46 || return 0
 	f="$DIR/f54e"
-	ls -l $f
-	ls -l /dev/tty0
 	string="aaaaaa"
-	mknod $f c 5 0
-	ls -l $f
-	ls -l /dev/tty0
+	cp -aL /dev/console $f
 	echo $string > $f || error
 }
 run_test 54e "console/tty device works in lustre ======================"
-- 
GitLab