Lines Matching refs:DIR
74 if [ ! -d $DIR ]; then
75 echo "$0: $DIR not present" >&2
100 if [ -z $DIR ]; then
101 DIR="/sys/devices/virtual/misc/${TEST_DRIVER}0/"
148 if [ ! -d $DIR ]; then
203 if ! echo -n 1 >$DIR/config_test_case; then
211 if ! echo -n 2 >$DIR/config_test_case; then
219 if ! echo -n $1 >$DIR/config_num_threads; then
244 if ! echo -n $1 >$DIR/config_test_driver; then
252 if ! echo -n $1 >$DIR/config_test_fs; then
260 cat $DIR/config_test_driver
265 cat $DIR/test_result
270 if ! echo -n "1" >"$DIR"/reset; then
279 cat "$DIR"/config
285 if ! echo -n "1" >"$DIR"/trigger_config 2>/dev/null; then
295 if echo "1" > $DIR/trigger_config 2>/dev/null; then
346 printf $NAME >"$DIR"/config_test_driver
357 printf $NAME >"$DIR"/config_test_fs