Lines Matching refs:DIR
63 if [ ! -d $DIR ]; then
64 echo "$0: $DIR not present" >&2
89 if [ -z $DIR ]; then
90 DIR="/sys/devices/virtual/misc/${TEST_DRIVER}0/"
137 if [ ! -d $DIR ]; then
192 if ! echo -n 1 >$DIR/config_test_case; then
200 if ! echo -n 2 >$DIR/config_test_case; then
208 if ! echo -n $1 >$DIR/config_num_threads; then
233 if ! echo -n $1 >$DIR/config_test_driver; then
241 if ! echo -n $1 >$DIR/config_test_fs; then
249 cat $DIR/config_test_driver
254 cat $DIR/test_result
259 if ! echo -n "1" >"$DIR"/reset; then
268 cat "$DIR"/config
274 if ! echo -n "1" >"$DIR"/trigger_config 2>/dev/null; then
284 if echo "1" > $DIR/trigger_config 2>/dev/null; then
335 printf $NAME >"$DIR"/config_test_driver
346 printf $NAME >"$DIR"/config_test_fs