diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index e64c73baeb15d39f1ac01ee8d41136b6919da277..cd962eb4499271c7ad125a20291ad8a625d95efb 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 ======================"