3 # Run script for fdtput tests
4 # We run fdtput to update the device tree, thn fdtget to check it
7 # fdtput-runtest.sh name expected_output dtb_file node property flags value
14 trap "rm -f $LOG $EXPECT" 0
26 verbose_run_check $VALGRIND "$DTPUT" "$dtb" "$node" "$property" $value $flags
28 # Now fdtget to read the value
29 verbose_run_log_check "$LOG" $VALGRIND "$DTGET" "$dtb" "$node" "$property" $flags
31 if cmp $EXPECT $LOG >/dev/null; then
34 if [ -z "$QUIET_TEST" ]; then
38 FAIL "Results differ from expected"