From: Ian Jackson Subject: [OSSTEST PATCH 18/32] cr-ensure-disk-space: Do df check on target. Date: Tue, 24 Mar 2015 19:02:41 +0000 Message-ID: <1427223775-8592-19-git-send-email-ian.jackson@eu.citrix.com> References: <1427223775-8592-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YaU6a-00005j-MC for xen-devel@lists.xenproject.org; Tue, 24 Mar 2015 19:03:12 +0000 In-Reply-To: <1427223775-8592-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Ian Jackson --- cr-ensure-disk-space | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-ensure-disk-space b/cr-ensure-disk-space index 31880f7..6f129bd 100755 --- a/cr-ensure-disk-space +++ b/cr-ensure-disk-space @@ -60,7 +60,7 @@ sub ontarget ($) { } for (;;) { - open P, "df --block-size=1M -P . |" or die $!; + open P, "-|", ontarget "df --block-size=1M -P $pubdir" or die $!; $_=

; m/^filesystem/i or die "$_ ?"; $_=

; -- 1.7.10.4