Browse Source

Remove unused variable from test scripts

Several of the test scripts remove $TMPFILE, without ever having set
the TMPFILE variable. This patch fixes it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 13 years ago committed by Jon Loeliger
parent
commit
9a50d82c4e
  1. 2
      tests/dtc-checkfails.sh
  2. 2
      tests/fdtget-runtest.sh
  3. 2
      tests/fdtput-runtest.sh

2
tests/dtc-checkfails.sh

@ -12,7 +12,7 @@ done @@ -12,7 +12,7 @@ done

LOG="tmp.log.$$"

rm -f $TMPFILE $LOG
rm -f $LOG

verbose_run_log "$LOG" $VALGRIND "$DTC" -o /dev/null "$@"
ret="$?"

2
tests/fdtget-runtest.sh

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
LOG="tmp.log.$$"
EXPECT="tmp.expect.$$"

rm -f $TMPFILE $LOG
rm -f $LOG

expect="$1"
echo "$expect" >$EXPECT

2
tests/fdtput-runtest.sh

@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
LOG="tmp.log.$$"
EXPECT="tmp.expect.$$"

rm -f $TMPFILE $LOG
rm -f $LOG

expect="$1"
echo "$expect" >$EXPECT

Loading…
Cancel
Save