Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2015 19:50:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202424] [regression] fetch(1) reports "0 B 0 Bps" in the logs
Message-ID:  <bug-202424-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202424

            Bug ID: 202424
           Summary: [regression] fetch(1) reports "0 B 0 Bps" in the logs
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: regression
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: danfe@FreeBSD.org
          Keywords: regression

I've observed that with newer FreeBSD releases, fetch(1) would leave bogus
transfer statistics in the logs (that is, when it's being redirected):

> $ uname -rms
> FreeBSD 11.0-CURRENT i386
> $ fetch http://homehost/somefile >& log
> $ cat log 
> somefile                                                 0  B    0  Bps

Same happens on 10.X releases.  While on 8.4, the output correctly lists file
length and transfer speed:

> $ uname -rms
> FreeBSD 8.4-STABLE i386
> $ fetch http://homehost/somefile >& log
> $ cat log
> somefile                                               178 kB   11 MBps

This bugs occurs independently of the shell being used (sh/tcsh/bash).

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202424-8>