diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-02-03 16:12:03 +1100 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2012-02-03 08:35:38 -0600 |
commit | 9a50d82c4e3a44ca004ada288f7c37004da0b0cc (patch) | |
tree | 2ad36c21d799c096a404ab6afca1db478b2291c8 /tests | |
parent | 53d6ca639d1e95d0d62e84b25f3d22d721d1f4a3 (diff) | |
download | dtc-9a50d82c4e3a44ca004ada288f7c37004da0b0cc.tar.gz |
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>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/dtc-checkfails.sh | 2 | ||||
-rwxr-xr-x | tests/fdtget-runtest.sh | 2 | ||||
-rw-r--r-- | tests/fdtput-runtest.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/dtc-checkfails.sh b/tests/dtc-checkfails.sh index c58694f..e7aa25e 100755 --- a/tests/dtc-checkfails.sh +++ b/tests/dtc-checkfails.sh @@ -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="$?" diff --git a/tests/fdtget-runtest.sh b/tests/fdtget-runtest.sh index f38184f..c17c8f9 100755 --- a/tests/fdtget-runtest.sh +++ b/tests/fdtget-runtest.sh @@ -5,7 +5,7 @@ LOG="tmp.log.$$" EXPECT="tmp.expect.$$" -rm -f $TMPFILE $LOG +rm -f $LOG expect="$1" echo "$expect" >$EXPECT diff --git a/tests/fdtput-runtest.sh b/tests/fdtput-runtest.sh index ea51569..8e4cd95 100644 --- a/tests/fdtput-runtest.sh +++ b/tests/fdtput-runtest.sh @@ -11,7 +11,7 @@ LOG="tmp.log.$$" EXPECT="tmp.expect.$$" -rm -f $TMPFILE $LOG +rm -f $LOG expect="$1" echo "$expect" >$EXPECT |