Lines Matching refs:LOC

168 	LOC=$1
171 echo "Running port tests on: $(basename $LOC) / $(basename $REM)"
173 LOCAL_PORT=$(read_file "$LOC/port")
176 LOCAL_PIDX=$(find_pidx ${REMOTE_PORT} "$LOC")
187 LOC=$1
191 echo "Running link tests on: $(subdirname $LOC) / $(subdirname $REM)"
193 if ! write_file "N" "$LOC/../link" 2> /dev/null; then
198 write_file "N" "$LOC/link_event"
205 write_file "Y" "$LOC/../link"
212 LOC=$1
216 echo "Running db tests on: $(basename $LOC) / $(basename $REM)"
218 DB_VALID_MASK=$(read_file "$LOC/db_valid_mask")
233 write_file "s $MASK" "$LOC/peer_db"
248 LOC=$2
250 split_remote $LOC
253 echo $(ls -1 "$LOC"/${NAME}* 2>/dev/null | wc -l)
262 LOC=$1
265 echo "Running spad tests on: $(subdirname $LOC) / $(subdirname $REM)"
267 CNT=$(get_files_count "spad" "$LOC")
276 write_file "$VAL" "$LOC/spad$i"
290 LOC=$1
293 echo "Running msg tests on: $(subdirname $LOC) / $(subdirname $REM)"
295 CNT=$(get_files_count "msg" "$LOC")
302 MSG_OUTBITS_MASK=$(read_file "$LOC/../msg_inbits")
305 write_file "c $MSG_OUTBITS_MASK" "$LOC/../msg_sts"
310 write_file "$VAL" "$LOC/msg$i"
332 LOC=$2
335 write_file $MW_SIZE "$LOC/mw_trans$IDX"
337 INB_MW=$(read_file "$LOC/mw_trans$IDX")
363 LOC=$2
366 write_mw "$LOC/mw$IDX"
368 split_remote "$LOC/mw$IDX"
401 LOC=$2
406 write_file 0 "$LOC/mw_trans$IDX"
411 LOC=$1
414 CNT=$(get_files_count "mw_trans" "$LOC")
417 echo "Running mw$i tests on: $(subdirname $LOC) / " \
420 mw_alloc $i $LOC $REM
422 mw_check $i $LOC $REM
424 mw_free $i $LOC $REM
433 LOC=$1
436 echo "Running ping pong tests on: $(basename $LOC) / $(basename $REM)"
438 LOC_START=$(read_file "$LOC/count")
443 LOC_END=$(read_file "$LOC/count")