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

use file with major,minor from /dev/console

lustre/tests/sanity.sh

index 6ef903c..260c4c4 100644 (file)
@@ -2347,7 +2347,7 @@ test_54e() {
        check_kernel_version 46 || return 0
        f="$DIR/f54e"
        string="aaaaaa"
-       mknod $f c 5 0
+       cp -aL /dev/console $f
        echo $string > $f || error
 }
 run_test 54e "console/tty device works in lustre ======================"