projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: Add a 'make qcheck' target for quicker testing
[oweals/u-boot.git]
/
test
/
py
/
tests
/
test_hush_if_test.py
diff --git
a/test/py/tests/test_hush_if_test.py
b/test/py/tests/test_hush_if_test.py
index c8f4208d31054f1f20432d61bc674b5e9e4da800..bba8d41d9648c9d57f9f99571bffbf844de9d754 100644
(file)
--- a/
test/py/tests/test_hush_if_test.py
+++ b/
test/py/tests/test_hush_if_test.py
@@
-1,6
+1,5
@@
-# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
-#
# SPDX-License-Identifier: GPL-2.0
# SPDX-License-Identifier: GPL-2.0
+# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
# Test operation of the "if" shell command.
# Test operation of the "if" shell command.
@@
-149,7
+148,7
@@
def test_hush_if_test_host_file_exists(u_boot_console):
exec_hush_if(u_boot_console, expr, False)
try:
exec_hush_if(u_boot_console, expr, False)
try:
- with
file
(test_file, 'wb'):
+ with
open
(test_file, 'wb'):
pass
assert os.path.exists(test_file)
pass
assert os.path.exists(test_file)