Files
dts-scripts/tests/dasharo-ectool-mock.sh
Maciej Pijanowski 084d27d939 tests: port from meta-dts
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
2024-07-25 22:22:33 +02:00

22 lines
406 B
Bash
Executable File

#!/bin/bash
# Function to print usage
usage() {
echo "Usage: $0 info"
exit 1
}
# Check if the first argument is 'info'
if [[ "$1" != "info" ]]; then
usage
fi
# Mock info command output
echo "Dasharo EC Tool Mock - Info Command"
echo "-----------------------------------"
echo "board: novacustom/nv4x_adl"
echo "version: 2023-03-10_c0fe220"
echo "-----------------------------------"
exit 0