GNU bug report logs - #20130
GNU test behaviour

Previous Next

Package: coreutils;

Reported by: Robson Júnior <robsonjrce <at> gmail.com>

Date: Tue, 17 Mar 2015 21:26:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Robson Júnior <robsonjrce <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: GNU test behaviour
Date: Tue, 17 Mar 2015 18:23:01 -0300
[Message part 1 (text/plain, inline)]
Hi,

I'm currently very curious about something i couldn't read from man pages.

`test -e <FILENAME>` checks if a file exists... that's why i couldn't agree
with the return of the execution `test -e` with no filename being passed
to. It returns 0, although it should be 1.

Is it right?

-- 

Robson Júnior
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.