Black-box tests that run the script with stub commands on a minimal PATH and temp config/state folders.
5 lines
160 B
Bash
Executable File
5 lines
160 B
Bash
Executable File
#!/bin/bash
|
|
# Exits $FWUPD_RC: 0 = firmware updates available, 2 (default) = none.
|
|
printf '%s %s\n' "${0##*/}" "$*" >> "$STUB_DATA/calls"
|
|
exit "${FWUPD_RC:-2}"
|