mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
don't fail if nslookup is not found
When nslookup is not available, execution would stop. This patch moves the check for nslookup and the _get_fqdn function into the ./new script (since this is the only place where it's used) and we don't fail any more but try to find out our FQDN without nslookup. Signed-off-by: Christian Kujau <lists@nerdbynature.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
aa1810a797
commit
3ba1b10a87
@@ -120,9 +120,6 @@ export UMOUNT_PROG="`set_prog_path umount`"
|
||||
export FSSTRESS_PROG="`set_prog_path fsstress $PWD/ltp/fsstress`"
|
||||
[ "$FSSTRESS_PROG" = "" ] && _fatal "fsstress not found"
|
||||
|
||||
export NSLOOKUP_PROG="`set_prog_path nslookup`"
|
||||
[ "$NSLOOKUP_PROG" = "" ] && _fatal "nslookup not found"
|
||||
|
||||
export PERL_PROG="`set_prog_path perl`"
|
||||
[ "$PERL_PROG" = "" ] && _fatal "perl not found"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user