mirror of
https://github.com/stefanberger/swtpm.git
synced 2026-01-08 20:57:37 +00:00
tests: use uname -s to check for Linux
Use uname -s to check for Linux rather than uname -o, which doesn't seem to be supported on OpenBSD. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
27aad7283c
commit
415bf5563d
@ -1,7 +1,7 @@
|
||||
|
||||
# For the license, see the LICENSE file in the root directory.
|
||||
|
||||
if ! [[ "$(uname -o)" =~ Linux ]]; then
|
||||
if ! [[ "$(uname -s)" =~ Linux ]]; then
|
||||
echo "Need Linux to run test with CUSE interface."
|
||||
exit 77
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user