]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Interpret env vars in faketty on FreeBSD
authorRyan Moeller <ryan@iXsystems.com>
Wed, 12 Feb 2020 21:04:51 +0000 (16:04 -0500)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2020 21:04:51 +0000 (13:04 -0800)
commit834f274fbfa0642e62944784a06b0e184065bdf0
treeaf95bdb8f8f95bacf2dcf81737e7470b6afc91f5
parent9c536b9a7824f17ab85ba9dfafc95f65eac68e0e
ZTS: Interpret env vars in faketty on FreeBSD

This was missed in review. On FreeBSD, script does not understand
environment variables being passed as a command.

Use env to make faketty handle env vars on FreeBSD.

Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #9981
tests/zfs-tests/include/commands.cfg
tests/zfs-tests/include/libtest.shlib