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
This commit is contained in:
Ryan Moeller
2020-02-12 16:04:51 -05:00
committed by GitHub
parent 9c536b9a78
commit 834f274fbf
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -114,6 +114,7 @@ export SYSTEM_FILES_COMMON='arp
export SYSTEM_FILES_FREEBSD='chflags
compress
dumpon
env
fsck
getextattr
gpart