summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-03-04 00:09:08 +0100
committerBrian Behlendorf <[email protected]>2022-04-01 17:54:52 -0700
commitbf228f3de038ddb1b8498119c95a3e1766ad884e (patch)
treee1718586238c6478b3784da728c2702345d52e2f /scripts
parenteebfd28e9d712bcfb5a6d20d59be208645474066 (diff)
tests: standardise on no-arg uname with *) case for illumos
Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: John Kennedy <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13259
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/zfs-tests.sh2
-rwxr-xr-xscripts/zfs.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/zfs-tests.sh b/scripts/zfs-tests.sh
index 851ff8b74..d82c5923a 100755
--- a/scripts/zfs-tests.sh
+++ b/scripts/zfs-tests.sh
@@ -53,7 +53,7 @@ TAGS=""
ITERATIONS=1
ZFS_DBGMSG="$STF_SUITE/callbacks/zfs_dbgmsg.ksh"
ZFS_DMESG="$STF_SUITE/callbacks/zfs_dmesg.ksh"
-UNAME=$(uname -s)
+UNAME=$(uname)
RERUN=""
KMEMLEAK=""
diff --git a/scripts/zfs.sh b/scripts/zfs.sh
index 0561092a0..edce2cbd4 100755
--- a/scripts/zfs.sh
+++ b/scripts/zfs.sh
@@ -260,7 +260,7 @@ if [ "$(id -u)" != 0 ]; then
exit 1
fi
-UNAME=$(uname -s)
+UNAME=$(uname)
if [ "$UNLOAD" = "yes" ]; then
kill_zed