summaryrefslogtreecommitdiff
path: root/tests/bin/zpool
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bin/zpool')
-rwxr-xr-xtests/bin/zpool18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bin/zpool b/tests/bin/zpool
new file mode 100755
index 0000000..be65e56
--- /dev/null
+++ b/tests/bin/zpool
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+
+case "$1" in
+ list)
+ cat << EOF
+NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
+bpool 2.75G 54.4M 2.70G - - 0% 1% 1.00x ONLINE -
+ nvme0n1p2 3G 54.4M 2.70G - - 0% 1.93% - ONLINE
+rpool 3.62T 419M 3.62T - - 0% 0% 1.00x ONLINE -
+ nvme0n1p3 3.64T 419M 3.62T - - 0% 0.01% - ONLINE
+EOF
+ ;;
+ *)
+ echo "usage: zpool command args ..." >&2
+ ;;
+esac
+