From ec2c363125ffc682847e8c4d02a5bc6b2f41f003 Mon Sep 17 00:00:00 2001 From: Federico Quattrin Date: Fri, 31 Jan 2025 09:10:38 -0300 Subject: [PATCH] added basic integration test --- tests/profiles/lsusb/task.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/profiles/lsusb/task.yaml diff --git a/tests/profiles/lsusb/task.yaml b/tests/profiles/lsusb/task.yaml new file mode 100644 index 000000000..3f7ee6152 --- /dev/null +++ b/tests/profiles/lsusb/task.yaml @@ -0,0 +1,9 @@ +summary: smoke test for the lsusb profile +execute: | + # lsusb works (this is a very basic test). + # try printing the physical USB device hierarchy as a tree + lsusb -t + # be verbose + lsusb -v + # The profile is attached based on the program path. + "$SPREAD_PATH"/tests/bin/actual-profile-of lsusb | MATCH 'lsusb \(enforce\)'