Lines Matching refs:DIR
70 if [ ! -d $DIR ]; then
71 echo "$0: $DIR not present" >&2
96 if [ -z $DIR ]; then
97 DIR="/sys/devices/virtual/misc/${TEST_DRIVER}0/"
144 if [ ! -d $DIR ]; then
198 if ! echo -n 1 >$DIR/config_test_case; then
206 if ! echo -n 2 >$DIR/config_test_case; then
214 if ! echo -n $1 >$DIR/config_num_threads; then
239 if ! echo -n $1 >$DIR/config_test_driver; then
247 if ! echo -n $1 >$DIR/config_test_fs; then
255 cat $DIR/config_test_driver
260 cat $DIR/test_result
265 if ! echo -n "1" >"$DIR"/reset; then
274 cat "$DIR"/config
280 if ! echo -n "1" >"$DIR"/trigger_config 2>/dev/null; then
290 if echo "1" > $DIR/trigger_config 2>/dev/null; then
341 printf '\000' >"$DIR"/config_test_driver
352 printf '\000' >"$DIR"/config_test_fs