From d3287bd7effe3f7d7648c848eac1ca17a46d63ce Mon Sep 17 00:00:00 2001 From: gfelkel <60182072+gfelkel@users.noreply.github.com> Date: Wed, 22 Jan 2020 16:31:49 +0100 Subject: [PATCH] FILE-6310 for HP-UX MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HP-UX: /usr/sbin/mount reports "/home on /dev/…", so $1 has to be used --- include/tests_filesystems | 1 + 1 file changed, 1 insertion(+) diff --git a/include/tests_filesystems b/include/tests_filesystems index 798978e7..c709a79a 100644 --- a/include/tests_filesystems +++ b/include/tests_filesystems @@ -50,6 +50,7 @@ LogText "Result: directory ${I} exists" case "${OS}" in "AIX") FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($2==MP) { print $2 }}') ;; + "HP-UX") FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($1==MP) { print $1 }}') ;; *) FIND=$(${MOUNTBINARY} | ${AWKBINARY} -v MP=${I} '{ if ($3==MP) { print $3 }}') ;; esac