mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-01 13:49:03 +03:00
Add a simple test case to check the basic usage by calling 'ls' and checking the output. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
7 lines
159 B
Python
7 lines
159 B
Python
import subprocess32
|
|
|
|
output = subprocess32.check_output(["ls", "-l", "/dev/null"])
|
|
print(output)
|
|
assert("/dev/null" in output)
|
|
assert("No such" not in output)
|