]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_root/zpool_create/zpool_create_014_neg.ksh
Update ZTS to work on FreeBSD
[mirror_zfs.git] / tests / zfs-tests / tests / functional / cli_root / zpool_create / zpool_create_014_neg.ksh
index fc383be9b564dbb90a766ca894037d0ed84973bb..64ffed5ec55b77e196ea6a9f6c3ac213d487f567 100755 (executable)
@@ -82,7 +82,7 @@ typeset TMP_FILE=$mntp/tmpfile.$$
 create_pool $TESTPOOL $pool_dev
 log_must zfs create -V 100m $vol_name
 block_device_wait
-log_must echo "y" | newfs ${ZVOL_DEVDIR}/$vol_name > /dev/null 2>&1
+log_must eval "new_fs ${ZVOL_DEVDIR}/$vol_name > /dev/null 2>&1"
 log_must mount ${ZVOL_DEVDIR}/$vol_name $mntp
 
 log_must mkfile 50m $TMP_FILE