Whamcloud - gitweb
b=13774
authorgrev <grev>
Mon, 17 Dec 2007 10:21:01 +0000 (10:21 +0000)
committergrev <grev>
Mon, 17 Dec 2007 10:21:01 +0000 (10:21 +0000)
i=Adilger

use file with major,minor from /dev/console

lustre/tests/sanity.sh

index e64c73b..cd962eb 100644 (file)
@@ -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 ======================"