NetBSD Problem Report #2642
From gnats Thu Jul 18 00:58:09 1996
Received: from planet-zorp.MIT.EDU by pain.lcs.mit.edu (8.7.5/8.7.3) with SMTP id AAA28330 for <gnats-bugs@gnats.netbsd.org>; Thu, 18 Jul 1996 00:40:31 -0400 (EDT)
Message-Id: <199607180440.AAA09641@planet-zorp.MIT.EDU>
Date: Thu, 18 Jul 1996 00:40:30 -0400
From: Marc Horowitz N1NZU <marc@mit.edu>
Reply-To: marc@mit.edu
To: gnats-bugs@NetBSD.ORG
Subject: cmp -s prints output if files are missing
X-Send-Pr-Version: 3.95
>Number: 2642
>Category: bin
>Synopsis: cmp -s prints output if files are missing
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 18 01:05:01 +0000 1996
>Closed-Date: Fri Sep 27 02:42:49 +0000 1996
>Last-Modified: Mon Mar 19 07:10:08 +0000 2012
>Originator: Marc Horowitz N1NZU
>Release: 1.1
>Organization:
MIT
>Environment:
System: NetBSD planet-zorp 1.1 NetBSD 1.1 (ATHENAOTHER) #4: Thu Jan 18 03:29:37 EST 1996 ghudson@zygorthian-space-raiders:/u1/build/sys/arch/i386/compile/ATHENAOTHER i386
>Description:
cmp -s will print a message to stderr if one of the files does
not exist. Although the man page is ambiguous on this point, I
believe that -s should cause cmp to be silent. This is the case on
irix 5.2, irix 5.3, sunos 4.1.4, and hpux 10.10, which are the other
platforms I happen to be logged in on right now.
>How-To-Repeat:
> cmp -s i-dont-exist and-neither-do-i
cmp: i-dont-exist: No such file or directory
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: thorpej
State-Changed-When: Thu Sep 26 19:42:49 PDT 1996
State-Changed-Why:
Fixed in NetBSD 1.2
From: "Jukka Ruohonen" <jruoho@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/2642 CVS commit: src
Date: Mon, 19 Mar 2012 07:05:19 +0000
Module Name: src
Committed By: jruoho
Date: Mon Mar 19 07:05:18 UTC 2012
Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/usr.bin: Makefile
Added Files:
src/tests/usr.bin/cmp: Makefile t_cmp.sh
Log Message:
Add regression tests for PR bin/2642 and PR bin/23836, both fixed long ago.
To generate a diff of this commit:
cvs rdiff -u -r1.450 -r1.451 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.66 -r1.67 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.11 -r1.12 src/tests/usr.bin/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/cmp/Makefile \
src/tests/usr.bin/cmp/t_cmp.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.