blob: 9e8263e8d9703a03e996393bbcfe04b72415b024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2007 Silicon Graphics, Inc. All Rights Reserved.
#
# FS QA Test No. 184
#
# check mknod makes working nodes.
#
. ./common/preamble
_begin_fstest metadata auto quick
# Import common functions.
. ./common/filter
# real QA test starts here
_supported_fs generic
_require_test
_require_mknod
rm -f $TEST_DIR/null
mknod $TEST_DIR/null c 1 3
chmod 666 $TEST_DIR/null
echo fred > $TEST_DIR/null
status=$?
exit
|