Lines Matching refs:TARGET
138 TRIGGER=$(basename ${TARGET})
155 echo -n $VAL > $TARGET
160 if [ ! -z $TARGET ]; then
161 echo "${ORIG}" > "${TARGET}"
167 echo "${TEST_STR}" > "${TARGET}"
207 echo "== Testing sysctl behavior against ${TARGET} =="
221 if verify "${TARGET}"; then
230 if ! verify "${TARGET}"; then
239 if verify "${TARGET}"; then
252 dd if="${TEST_FILE}" of="${TARGET}" bs=4096 2>/dev/null
253 if ! verify "${TARGET}"; then
262 dd if="${TEST_FILE}" of="${TARGET}" bs=1 seek=1 skip=1 2>/dev/null
263 if ! verify "${TARGET}"; then
272 dd if="${TEST_FILE}" of="${TARGET}" bs=20 seek=2 2>/dev/null
273 if verify "${TARGET}"; then
283 dd of="${TARGET}" bs=50 2>/dev/null
284 if verify "${TARGET}"; then
302 dd of="${TARGET}" 2>/dev/null
304 if ! verify "${TARGET}"; then
318 dd of="${TARGET}" 2>/dev/null
320 if verify "${TARGET}"; then
335 echo -n $TEST_STR > $TARGET
337 if ! verify "${TARGET}"; then
348 echo -n $TEST_STR > $TARGET 2> /dev/null
350 if verify "${TARGET}"; then
361 echo -n $TEST_STR > $TARGET 2> /dev/null
362 if ! verify "${TARGET}"; then
376 echo -n $TEST_STR > $TARGET
378 if ! verify_diff_w "${TARGET}"; then
390 echo -n $TEST_STR > $TARGET
395 if ! verify_diff_w "${TARGET}"; then
410 dd of="${TARGET}" 2>/dev/null
413 if ! verify_diff_w "${TARGET}"; then
427 dd of="${TARGET}" 2>/dev/null
430 if verify_diff_w "${TARGET}"; then
445 echo -n $TEST_STR > $TARGET
447 if ! verify "${TARGET}"; then
458 echo -n $TEST_STR > $TARGET 2> /dev/null
460 if verify "${TARGET}"; then
471 echo -n $TEST_STR > $TARGET 2> /dev/null
473 if verify "${TARGET}"; then
486 dd if="${TEST_FILE}" of="${TARGET}" bs=1 2>/dev/null
487 if ! verify "${TARGET}"; then
496 dd if="${TEST_FILE}" of="${TARGET}" bs=1 seek=1 2>/dev/null
497 if verify "${TARGET}"; then
507 dd of="${TARGET}" bs="${MAXLEN}" 2>/dev/null
508 if ! grep -q B "${TARGET}"; then
518 dd of="${TARGET}" bs=$(( MAXLEN - 1 )) 2>/dev/null
519 if grep -q B "${TARGET}"; then
529 dd of="${TARGET}" bs="${MAXLEN}" 2>/dev/null
530 if grep -q B "${TARGET}"; then
540 dd of="${TARGET}" bs=$(( $MAXLEN + 1 )) 2>/dev/null
541 if grep -q B "${TARGET}"; then
553 TARGET="${SYSCTL}/int_0001"
555 ORIG=$(cat "${TARGET}")
564 TARGET="${SYSCTL}/string_0001"
566 ORIG=$(cat "${TARGET}")
577 TARGET="${SYSCTL}/int_0002"
579 ORIG=$(cat "${TARGET}")
589 TARGET="${SYSCTL}/uint_0001"
591 ORIG=$(cat "${TARGET}")
601 TARGET="${SYSCTL}/int_0003"
603 ORIG=$(cat "${TARGET}")