mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
tests: standardise on no-arg uname with *) case for illumos
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13259
This commit is contained in:
@@ -170,8 +170,8 @@ if [ "@UBSAN_ENABLED@" = "yes" ]; then
|
||||
fi
|
||||
|
||||
|
||||
case $(uname -o) in
|
||||
GNU/Linux)
|
||||
case $(uname) in
|
||||
Linux)
|
||||
unpack_opts="--sparse -xf"
|
||||
pack_opts="--sparse -cf"
|
||||
verbose=" -v"
|
||||
@@ -209,7 +209,7 @@ FreeBSD)
|
||||
NEWFS_DEFAULT_FS="ufs"
|
||||
SLICE_PREFIX="p"
|
||||
;;
|
||||
illumos)
|
||||
*)
|
||||
export AUTO_SNAP=$(svcs -a | \
|
||||
awk '/auto-snapshot/ && /online/ { print $3 }')
|
||||
# finally, if we're running in a local zone
|
||||
|
||||
Reference in New Issue
Block a user