bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #48061] make check in targets/DELETE_ON_ERROR fails on Solaris 10


From: Joel Fredrikson
Subject: [bug #48061] make check in targets/DELETE_ON_ERROR fails on Solaris 10
Date: Mon, 30 May 2016 21:32:20 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:31.0) Gecko/20100101 Firefox/31.0

URL:
  <http://savannah.gnu.org/bugs/?48061>

                 Summary: make check in targets/DELETE_ON_ERROR fails on
Solaris 10
                 Project: make
            Submitted by: joelfred
            Submitted on: Mon 30 May 2016 09:32:18 PM GMT
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.2
        Operating System: POSIX-Based
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

When compiling make 4.2, I noticed a problem with the test-suite.

make check fails in targets/DELETE_ON_ERROR on Solaris 10 due to the
assumption that false should have a exit status 1, when in reality it is only
specified to exit with a non-zero value.

% cat tests/work/targets/DELETE_ON_ERROR.diff
*** work/targets/DELETE_ON_ERROR.base   Mon May 30 22:34:35 2016
--- work/targets/DELETE_ON_ERROR.log    Mon May 30 22:34:35 2016
***************
*** 1,3 ****
  false > all
! make: *** [work/targets/DELETE_ON_ERROR.mk:3: all] Error 1
  make: *** Deleting file 'all'
--- 1,3 ----
  false > all
! make: *** [work/targets/DELETE_ON_ERROR.mk:3: all] Error 255
  make: *** Deleting file 'all'

% uname -a
SunOS nereus 5.10 Generic_150401-36 i86pc i386 i86pc
% /bin/false > /dev/null
% echo $?
255
% /it/sw/gnutools/bin/false --version
false (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jim Meyering.
% /it/sw/gnutools/bin/false > /dev/null
% echo $?
1
%





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48061>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]