Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 22 Feb 2012 19:41:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 22 14:41:55 2012 Received: from localhost ([127.0.0.1]:51367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1S0I4Y-000843-Vf for submit <at> debbugs.gnu.org; Wed, 22 Feb 2012 14:41:55 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:52009) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eggert@HIDDEN>) id 1S0I4U-00083k-5x for 10639 <at> debbugs.gnu.org; Wed, 22 Feb 2012 14:41:53 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 3CDADA60001; Wed, 22 Feb 2012 11:39:20 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pKC9PNZxsG+x; Wed, 22 Feb 2012 11:39:18 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id B75B539E8007; Wed, 22 Feb 2012 11:39:18 -0800 (PST) Message-ID: <4F454466.3090007@HIDDEN> Date: Wed, 22 Feb 2012 11:39:18 -0800 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Bruno Haible <bruno@HIDDEN> Subject: Re: acl code rewrite References: <201201291720.q0THKvRW010730@HIDDEN> <1554628.7qhAqzUlk2@linuix> <4F2A362A.40201@HIDDEN> <6602511.MYhgHRAJcQ@linuix> In-Reply-To: <6602511.MYhgHRAJcQ@linuix> Content-Type: multipart/mixed; boundary="------------070307040408070009060503" X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: "JONES, BILL" <rj7252@HIDDEN>, "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org>, bug-gnulib@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------070307040408070009060503 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 02/19/2012 07:18 PM, Bruno Haible wrote: > You would think that commit is fine, right? But it introduces a test failure > on Solaris 10 over NFS: > > files tmpfile0 and tmpfile2: different ACE-ACL entry #0: different access masks 1400207 and 5400607 > FAIL: test-copy-acl-2.sh > > What's happening, is that the test-copy-acl copies wrong ACL entries. Thanks for looking into this. I am not observing this problem on my Solaris 10 + NFS host. $ uname -a SunOS kiwi.cs.ucla.edu 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Fire-280R Solaris $ mount | grep eggert /home/eggert on elephant:/export/elephant/f/eggert remote/read/write/setuid/devices/xattr/dev=55522d5 on Wed Feb 22 10:24:33 2012 For file-has-acl.c I'd like it if the code didn't have the arbitrary limit around half the maximum allocated size, and the code could be simplified and regularized a bit so that the two Solaris cases are as similar as possible, so I propose the attached patch. The same idea can be applied to copy-acl.c but of course it's more important to fix the bug. (Maybe applying the idea will fix the bug? ...) --------------070307040408070009060503 Content-Type: text/x-patch; name="file-has-acl-patch.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file-has-acl-patch.diff" From b9b3ebce606b745dd52564dd0534859365eb8534 Mon Sep 17 00:00:00 2001 From: Paul Eggert <eggert@HIDDEN> Date: Wed, 22 Feb 2012 11:08:08 -0800 Subject: [PATCH] acl: unlimit and simplify file_has_acl * lib/file-has-acl.c (file_has_acl): Try all the way up to the maximum possible allocation rather than giving up half way. This should have little or no practical effect, but it's nicer to have the code be clear about the limits. Also, simplify the Solaris, Cygwin, general case code a bit. --- ChangeLog | 9 +++ lib/file-has-acl.c | 177 ++++++++++++++++++++-------------------------------- 2 files changed, 76 insertions(+), 110 deletions(-) diff --git a/ChangeLog b/ChangeLog index 444422e..dcfce89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-02-22 Paul Eggert <eggert@HIDDEN> + + acl: unlimit and simplify file_has_acl + * lib/file-has-acl.c (file_has_acl): Try all the way up to the + maximum possible allocation rather than giving up half way. + This should have little or no practical effect, but it's nicer + to have the code be clear about the limits. Also, simplify + the Solaris, Cygwin, general case code a bit. + 2012-02-20 Paul Eggert <eggert@HIDDEN> regex: fix typo in definition of MIN diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index 6b17678..4a23790 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -573,74 +573,52 @@ file_has_acl (char const *name, struct stat const *sb) { /* Initially, try to read the entries into a stack-allocated buffer. Use malloc if it does not fit. */ + aclent_t *entries; enum { - alloc_init = 4000 / sizeof (aclent_t), /* >= 3 */ - alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) + alloc_init = 4000 / sizeof *entries, /* >= 3 */ + alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof *entries) }; aclent_t buf[alloc_init]; size_t alloc = alloc_init; - aclent_t *entries = buf; - aclent_t *malloced = NULL; - int count; + int ret, count; + entries = buf; - for (;;) + while ((count = acl (name, GETACL, alloc, entries)) < 0 + && errno == ENOSPC) { - count = acl (name, GETACL, alloc, entries); - if (count < 0 && errno == ENOSPC) + /* Increase the size of the buffer. */ + if (entries != buf) + free (entries); + if (alloc == alloc_max) + entries = NULL; + else { - /* Increase the size of the buffer. */ - free (malloced); - if (alloc > alloc_max / 2) - { - errno = ENOMEM; - return -1; - } - alloc = 2 * alloc; /* <= alloc_max */ - entries = malloced = - (aclent_t *) malloc (alloc * sizeof (aclent_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - continue; + alloc = alloc <= alloc_max / 2 ? 2 * alloc : alloc_max; + entries = malloc (alloc * sizeof *entries); } - break; - } - if (count < 0) - { - if (errno == ENOSYS || errno == ENOTSUP) - ; - else + if (! entries) { - int saved_errno = errno; - free (malloced); - errno = saved_errno; + errno = ENOMEM; return -1; } } - else if (count == 0) - ; - else - { - /* Don't use MIN_ACL_ENTRIES: It's set to 4 on Cygwin, but Cygwin - returns only 3 entries for files with no ACL. But this is safe: - If there are more than 4 entries, there cannot be only the - "user::", "group::", "other:", and "mask:" entries. */ - if (count > 4) - { - free (malloced); - return 1; - } - if (acl_nontrivial (count, entries)) - { - free (malloced); - return 1; - } + /* Don't use MIN_ACL_ENTRIES: It's set to 4 on Cygwin, but Cygwin + returns only 3 entries for files with no ACL. But this is safe: + If there are more than 4 entries, there cannot be only the + "user::", "group::", "other:", and "mask:" entries. */ + ret = (count < 0 + ? (errno == ENOSYS || errno == ENOTSUP ? 0 : -1) + : 4 < count || acl_nontrivial (count, entries)); + if (entries != buf) + { + int saved_errno = errno; + free (entries); + errno = saved_errno; } - free (malloced); + if (ret) + return ret; } # ifdef ACE_GETACL @@ -649,77 +627,56 @@ file_has_acl (char const *name, struct stat const *sb) { /* Initially, try to read the entries into a stack-allocated buffer. Use malloc if it does not fit. */ + ace_t *entries; enum { - alloc_init = 4000 / sizeof (ace_t), /* >= 3 */ - alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) + alloc_init = 4000 / sizeof *entries, /* >= 3 */ + alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof *entries) }; ace_t buf[alloc_init]; size_t alloc = alloc_init; - ace_t *entries = buf; - ace_t *malloced = NULL; - int count; + int ret, count; + entries = buf; - for (;;) + while ((count = acl (name, ACE_GETACL, alloc, entries)) < 0 + && errno == ENOSPC) { - count = acl (name, ACE_GETACL, alloc, entries); - if (count < 0 && errno == ENOSPC) + /* Increase the size of the buffer. */ + if (entries != buf) + free (entries); + if (alloc == alloc_max) + entries = NULL; + else { - /* Increase the size of the buffer. */ - free (malloced); - if (alloc > alloc_max / 2) - { - errno = ENOMEM; - return -1; - } - alloc = 2 * alloc; /* <= alloc_max */ - entries = malloced = (ace_t *) malloc (alloc * sizeof (ace_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - continue; + alloc = alloc <= alloc_max / 2 ? 2 * alloc : alloc_max; + entries = malloc (alloc * sizeof *entries); } - break; - } - if (count < 0) - { - if (errno == ENOSYS || errno == EINVAL) - ; - else + if (! entries) { - int saved_errno = errno; - free (malloced); - errno = saved_errno; + errno = ENOMEM; return -1; } } - else if (count == 0) - ; - else - { - /* In the old (original Solaris 10) convention: - If there are more than 3 entries, there cannot be only the - ACE_OWNER, ACE_GROUP, ACE_OTHER entries. - In the newer Solaris 10 and Solaris 11 convention: - If there are more than 6 entries, there cannot be only the - ACE_OWNER, ACE_GROUP, ACE_EVERYONE entries, each once with - NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with - NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ - if (count > 6) - { - free (malloced); - return 1; - } - if (acl_ace_nontrivial (count, entries)) - { - free (malloced); - return 1; - } + /* In the old (original Solaris 10) convention: + If there are more than 3 entries, there cannot be only the + ACE_OWNER, ACE_GROUP, ACE_OTHER entries. + In the newer Solaris 10 and Solaris 11 convention: + If there are more than 6 entries, there cannot be only the + ACE_OWNER, ACE_GROUP, ACE_EVERYONE entries, each once with + NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with + NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ + ret = (count < 0 + ? (errno == ENOSYS || errno == EINVAL ? 0 : -1) + : 6 < count || acl_ace_nontrivial (count, entries)); + if (entries != buf) + { + int saved_errno = errno; + free (entries); + errno = saved_errno; } - free (malloced); + if (ret) + return ret; } # endif @@ -833,7 +790,7 @@ file_has_acl (char const *name, struct stat const *sb) } return -1; } - aclsize = 2 * aclsize; + aclsize = aclsize <= SIZE_MAX / 2 ? 2 * aclsize : SIZE_MAX; if (acl != aclbuf) free (acl); acl = malloc (aclsize); -- 1.7.6.5 --------------070307040408070009060503--
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 20 Feb 2012 03:20:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 19 22:20:18 2012 Received: from localhost ([127.0.0.1]:46411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RzJnS-0007Ep-VO for submit <at> debbugs.gnu.org; Sun, 19 Feb 2012 22:20:18 -0500 Received: from mo-p00-ob.rzone.de ([81.169.146.160]:49079) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <bruno@HIDDEN>) id 1RzJnJ-0007EZ-7R for 10639 <at> debbugs.gnu.org; Sun, 19 Feb 2012 22:20:11 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1329707875; l=52551; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=WOwGMfh4JqZH2Z+aZvYD1+RcA2o=; b=dKKfeLqs9KYxBXXiBRyX2qXbU7N+c/4Ct0eUnLyjIRlOWqAMN7KzlkZzNHOyTdzHnjD Sk5FJsJiBZrO+bBl6y//R86m7dh9KBqKiA0zUeOzfwUIChvPxJuKST0XGXVRNhAQM/Pco Q7+FWJ9EInPXiTyOCJ87lh5fl5bbEppEfUU= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142]) by post.strato.de (mrclete mo46) (RZmta 27.7 DYNA|AUTH) with ESMTPA id D06093o1K0RQ7X ; Mon, 20 Feb 2012 04:17:47 +0100 (MET) From: Bruno Haible <bruno@HIDDEN> To: Paul Eggert <eggert@HIDDEN> Bcc: bruno@HIDDEN Subject: Re: acl code rewrite Date: Mon, 20 Feb 2012 04:18:20 +0100 Message-ID: <6602511.MYhgHRAJcQ@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F2A362A.40201@HIDDEN> References: <201201291720.q0THKvRW010730@HIDDEN> <1554628.7qhAqzUlk2@linuix> <4F2A362A.40201@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2885548.ZUiKSnAd4x" Content-Transfer-Encoding: 7Bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: "JONES, BILL" <rj7252@HIDDEN>, "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org>, bug-gnulib@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) --nextPart2885548.ZUiKSnAd4x Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi Paul, > The patch you sent looks like it'll fix that particular bug, but while > looking into this I discovered so many bugs in this area, mostly > hard-to-test race conditions and overflows, that I thought it better > to rewrite the affected code than to try to fix each bug one at a time. > I didn't write this up very well, and my first cut at doing this could > stand some improvements of its own. Here's a revised patch that tries > to do a better job at all this. Thanks for this rework. I apologize for the time it took me to review it: I had a week-long private outage. > + - There's a race condition in this kind of code: > + > + n = acl (f, GETACLCNT, 0, NULL); > + [ allocate an array A of size N ] > + if (acl (f, GETACL, n, a) == n) > + return ok; > + > + The ACL can grow in size between the first and second calls to > + 'acl', which means that the second 'acl' returns a truncated > + ACL but thinks that it has the whole thing. To avoid this, the > + following pattern should be used instead: > + > + n = acl (f, GETACLCNT, 0, NULL); > + [ allocate an array A of size N + 1 ] > + n1 = acl (f, GETACL, n + 1, a); > + if (0 < n1 && n1 <= n) > + return ok; Have you tested that the acl() call works like this? The manual page http://docs.oracle.com/cd/E23824_01/html/821-1463/acl-2.html says that rather than returning a truncated result, the acl() call will fail with error code ENOSPC. And on HP-UX, the documentation http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02261503/c02261503.pdf says that the argument nentries is "never greater than" NACLENTRIES. Therefore, passing NACLENTRIES + 1, like your patch does, is invalid. > + - There were several instances of this pattern: > + > + for (;;) { > + n = acl (f, GETACLCNT, 0, NULL); > + [ allocate an array A of size N ] > + if (acl (f, GETACL, n, a) == n) > + break; > + } > + > + This loop might never terminate if some other process is constantly > + manipulating the file's ACL. The loop should be rewritten to > + terminate. The loop terminates with probability 1, because the probability that the competing process is able to change the size of the file's ACL right in time to provoke an endless loop is 0. > + - The acl (... GETACLNT ...) call is merely an optimization; its value > + is merely a hint as to how big to make the array. A better > + optimization is to avoid the acl (... GETACLNT ...) call entirely, > + and just guess a reasonably-big size, growing the size and trying > + again if it's not large enough. This guarantees termination, and > + saves a system call. Good point. I agree with this one. > + - With this approach, for ports like HP-UX that have an upper bound > + for the ACL length, there's no longer any need to loop reading the > + ACL. Just read it once and you're done reading it. Yes. > + - For ports like Solaris that do need to loop (because the ACL length > + is not known a priori), it's faster to allocate a reasonably-sized > + buffer on the stack and use that, and to allocate something on the > + heap only if the ACL is unusually large. This avoids malloc in the > + usual case. Yes. However, beware against premature optimizations: So far, the code does not handles ACLs on directories, only on files. The limit of "trivial" ACLs on files and on directories may be different. > + - The code that calculated sizes of these arrays did not check for > + overflow in size calculations; it should. > + > + - There are some memory leaks. For example, in qcopy_acl, if acl > + (src_name, GETACLCNT, 0, NULL) < 0 && errno == EPERM, then the > + storage for ace_entries leaks. Similarly, if acl (src_name, > + ACE_GETACL, ace_count, ace_entries) returns -1, the storage for > + ace_entries leaks. Oops, indeed! > + - In qset_acl, there's sometimes no need to read the entire ACL > + to determine the convention; this can save system calls when > + looking at very large ACLs. You assume that when you pass less room to the acl() call than needed, it will fill the buffer. But this is not clear from the documentation at <http://docs.oracle.com/cd/E23823_01/html/816-5167/acl-2.html> (cf. ENOSPC). Even if that's how it behaves in a specific version of Solaris, it's a risky assumption. > + Rather than fix these bugs one at a time I thought it more efficient > + to rewrite the affected code. Yup. But the code in tests/test-sameacls.c should be kept in sync if we decide to not use GETACLCNT any more. Also, one change per commit -- otherwise it gets too complicated. I hope you agree if I commit the parts on which we agree. =============================================================================== 2012-02-19 Bruno Haible <bruno@HIDDEN> acl: Update doc references. * doc/acl-resources.txt: Update links to Solaris documentation. --- doc/acl-resources.txt.orig Sun Feb 19 16:02:46 2012 +++ doc/acl-resources.txt Sun Feb 19 16:01:54 2012 @@ -72,10 +72,10 @@ http://www.softpanorama.org/Solaris/ACL/index.shtml http://www.cs.duke.edu/csl/faqs/solaris-acls.php Manual pages: - http://docs.sun.com/app/docs/doc/816-5167/acl-2?l=en&a=view - http://docs.sun.com/app/docs/doc/816-5165/getfacl-1?l=en&a=view - http://docs.sun.com/app/docs/doc/816-5165/setfacl-1?l=en&a=view - http://docs.sun.com/app/docs/doc/816-5167/pathconf-2?l=en&a=view + http://docs.oracle.com/cd/E23823_01/html/816-5167/acl-2.html + http://docs.oracle.com/cd/E23823_01/html/816-5165/getfacl-1.html + http://docs.oracle.com/cd/E23823_01/html/816-5165/setfacl-1.html + http://docs.oracle.com/cd/E23823_01/html/816-5167/pathconf-2.html Includes: <sys/acl.h> Library: =============================================================================== Already before any modification of the code, I'm seeing a test failure on Solaris 11: test-copy-acl: preserving permissions for 'tmpfile1': Operation not applicable FAIL: test-copy-acl.sh The reason is that the function acl_ace_nontrivial returns 1 when it should better return 0. The original code for acl_ace_nontrivial was made to match the code in qset_acl, but this code is apparently more specialized than the various situations that occur on the file systems. This fixes it (without introducing regressions on Solaris 10). =============================================================================== 2012-02-19 Bruno Haible <bruno@HIDDEN> acl: Fix copy-acl test failure on Solaris 11 2011-11. * lib/file-has-acl.c (NEW_ACE_WRITEA_DATA): New macro. (acl_ace_nontrivial): Relax the restrictions on access_masks[] so that this function returns 0 in some more cases. --- lib/file-has-acl.c.orig Sun Feb 19 21:56:14 2012 +++ lib/file-has-acl.c Sun Feb 19 21:27:12 2012 @@ -154,6 +154,9 @@ # ifdef ACE_GETACL +/* A shortcut for a bitmask. */ +# define NEW_ACE_WRITEA_DATA (NEW_ACE_WRITE_DATA | NEW_ACE_APPEND_DATA) + /* Test an ACL retrieved with ACE_GETACL. Return 1 if the given ACL, consisting of COUNT entries, is non-trivial. Return 0 if it is trivial, i.e. equivalent to a simple stat() mode. */ @@ -250,16 +253,6 @@ | NEW_ACE_WRITE_ATTRIBUTES | NEW_ACE_WRITE_ACL | NEW_ACE_WRITE_OWNER); - if ((NEW_ACE_WRITE_NAMED_ATTRS - | NEW_ACE_WRITE_ATTRIBUTES - | NEW_ACE_WRITE_ACL - | NEW_ACE_WRITE_OWNER) - & ~ access_masks[4]) - return 1; - access_masks[4] &= ~(NEW_ACE_WRITE_NAMED_ATTRS - | NEW_ACE_WRITE_ATTRIBUTES - | NEW_ACE_WRITE_ACL - | NEW_ACE_WRITE_OWNER); if ((NEW_ACE_READ_NAMED_ATTRS | NEW_ACE_READ_ATTRIBUTES | NEW_ACE_READ_ACL @@ -272,21 +265,60 @@ | NEW_ACE_SYNCHRONIZE); /* Check the allowed or denied bits. */ - if ((access_masks[0] | access_masks[1]) - != (NEW_ACE_READ_DATA - | NEW_ACE_WRITE_DATA | NEW_ACE_APPEND_DATA - | NEW_ACE_EXECUTE)) - return 1; - if ((access_masks[2] | access_masks[3]) - != (NEW_ACE_READ_DATA - | NEW_ACE_WRITE_DATA | NEW_ACE_APPEND_DATA - | NEW_ACE_EXECUTE)) - return 1; - if ((access_masks[4] | access_masks[5]) - != (NEW_ACE_READ_DATA - | NEW_ACE_WRITE_DATA | NEW_ACE_APPEND_DATA - | NEW_ACE_EXECUTE)) - return 1; + switch ((access_masks[0] | access_masks[1]) + & ~(NEW_ACE_READ_NAMED_ATTRS + | NEW_ACE_READ_ATTRIBUTES + | NEW_ACE_READ_ACL + | NEW_ACE_SYNCHRONIZE)) + { + case 0: + case NEW_ACE_READ_DATA: + case NEW_ACE_WRITEA_DATA: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA: + case NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + break; + default: + return 1; + } + switch ((access_masks[2] | access_masks[3]) + & ~(NEW_ACE_READ_NAMED_ATTRS + | NEW_ACE_READ_ATTRIBUTES + | NEW_ACE_READ_ACL + | NEW_ACE_SYNCHRONIZE)) + { + case 0: + case NEW_ACE_READ_DATA: + case NEW_ACE_WRITEA_DATA: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA: + case NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + break; + default: + return 1; + } + switch ((access_masks[4] | access_masks[5]) + & ~(NEW_ACE_WRITE_NAMED_ATTRS + | NEW_ACE_WRITE_ATTRIBUTES + | NEW_ACE_WRITE_ACL + | NEW_ACE_WRITE_OWNER)) + { + case 0: + case NEW_ACE_READ_DATA: + case NEW_ACE_WRITEA_DATA: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA: + case NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + case NEW_ACE_READ_DATA | NEW_ACE_WRITEA_DATA | NEW_ACE_EXECUTE: + break; + default: + return 1; + } /* Check that the NEW_ACE_WRITE_DATA and NEW_ACE_APPEND_DATA bits are either both allowed or both denied. */ =============================================================================== After eliminating this test failure, let me add first the minimal workaround to the problem reported in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10639>. =============================================================================== 2012-02-19 Bruno Haible <bruno@HIDDEN> acl: Fix endless loop on Solaris with vxfs. * lib/file-has-acl.c (file_has_acl) [Solaris]: Treat a failing acl()/facl() call for ACE_GETACL like a failing call for ACE_GETACLCNT. * lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise. * lib/copy-acl.c (qcopy_acl)[Solaris]: Likewise. * tests/test-sameacls.c (main)[Solaris]: Likewise. Reported by Bill Jones in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10639>, via Paul Eggert. --- lib/copy-acl.c.orig Sun Feb 19 22:04:57 2012 +++ lib/copy-acl.c Sun Feb 19 22:00:03 2012 @@ -235,10 +235,22 @@ return -2; } - if ((source_desc != -1 - ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) - : acl (src_name, ACE_GETACL, ace_count, ace_entries)) - == ace_count) + ret = (source_desc != -1 + ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) + : acl (src_name, ACE_GETACL, ace_count, ace_entries)); + if (ret < 0) + { + free (ace_entries); + if (errno == ENOSYS || errno == EINVAL) + { + ace_count = 0; + ace_entries = NULL; + break; + } + else + return -2; + } + if (ret == ace_count) break; /* Huh? The number of ACL entries changed since the last call. Repeat. */ --- lib/file-has-acl.c.orig Sun Feb 19 22:04:57 2012 +++ lib/file-has-acl.c Sun Feb 19 22:00:03 2012 @@ -626,6 +626,8 @@ for (;;) { + int ret; + count = acl (name, ACE_GETACLCNT, 0, NULL); if (count < 0) @@ -656,7 +658,16 @@ errno = ENOMEM; return -1; } - if (acl (name, ACE_GETACL, count, entries) == count) + ret = acl (name, ACE_GETACL, count, entries); + if (ret < 0) + { + free (entries); + if (errno == ENOSYS || errno == EINVAL) + break; + else + return -1; + } + if (ret == count) { if (acl_ace_nontrivial (count, entries)) { --- lib/set-mode-acl.c.orig Sun Feb 19 22:04:57 2012 +++ lib/set-mode-acl.c Sun Feb 19 22:00:03 2012 @@ -219,6 +219,8 @@ for (;;) { + int ret; + if (desc != -1) count = facl (desc, ACE_GETACLCNT, 0, NULL); else @@ -234,10 +236,16 @@ errno = ENOMEM; return -1; } - if ((desc != -1 - ? facl (desc, ACE_GETACL, count, entries) - : acl (name, ACE_GETACL, count, entries)) - == count) + ret = (desc != -1 + ? facl (desc, ACE_GETACL, count, entries) + : acl (name, ACE_GETACL, count, entries)); + if (ret < 0) + { + free (entries); + convention = -1; + break; + } + if (ret == count) { int i; --- tests/test-sameacls.c.orig Sun Feb 19 22:04:57 2012 +++ tests/test-sameacls.c Sun Feb 19 22:00:03 2012 @@ -310,58 +310,66 @@ fflush (stderr); abort (); } - if (count1 != count2) - { - fprintf (stderr, "files %s and %s have different number of ACE-ACLs: %d and %d\n", - file1, file2, count1, count2); - return 1; - } - else if (count1 > 0) - { - ace_t *entries1 = XNMALLOC (count1, ace_t); - ace_t *entries2 = XNMALLOC (count2, ace_t); - int i; + { + ace_t *entries1 = XNMALLOC (count1, ace_t); + ace_t *entries2 = XNMALLOC (count2, ace_t); + int ret; + int i; - if (acl (file1, ACE_GETACL, count1, entries1) < count1) - { - fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file1); - fflush (stderr); - abort (); - } - if (acl (file2, ACE_GETACL, count2, entries2) < count1) - { - fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file2); - fflush (stderr); - abort (); - } - for (i = 0; i < count1; i++) - { - if (entries1[i].a_type != entries2[i].a_type) - { - fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different types %d and %d\n", - file1, file2, i, entries1[i].a_type, entries2[i].a_type); - return 1; - } - if (entries1[i].a_who != entries2[i].a_who) - { - fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different ids %d and %d\n", - file1, file2, i, (int)entries1[i].a_who, (int)entries2[i].a_who); - return 1; - } - if (entries1[i].a_access_mask != entries2[i].a_access_mask) - { - fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different access masks %03o and %03o\n", - file1, file2, i, (unsigned int) entries1[i].a_access_mask, (unsigned int) entries2[i].a_access_mask); - return 1; - } - if (entries1[i].a_flags != entries2[i].a_flags) - { - fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different flags 0x%x and 0x%x\n", - file1, file2, i, (unsigned int) entries1[i].a_flags, (unsigned int) entries2[i].a_flags); - return 1; - } - } - } + ret = acl (file1, ACE_GETACL, count1, entries1); + if (ret < 0 && errno == EINVAL) + count1 = 0; + else if (ret < count1) + { + fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file1); + fflush (stderr); + abort (); + } + ret = acl (file2, ACE_GETACL, count2, entries2); + if (ret < 0 && errno == EINVAL) + count2 = 0; + else if (ret < count2) + { + fprintf (stderr, "error retrieving the ACE-ACLs of file %s\n", file2); + fflush (stderr); + abort (); + } + + if (count1 != count2) + { + fprintf (stderr, "files %s and %s have different number of ACE-ACLs: %d and %d\n", + file1, file2, count1, count2); + return 1; + } + + for (i = 0; i < count1; i++) + { + if (entries1[i].a_type != entries2[i].a_type) + { + fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different types %d and %d\n", + file1, file2, i, entries1[i].a_type, entries2[i].a_type); + return 1; + } + if (entries1[i].a_who != entries2[i].a_who) + { + fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different ids %d and %d\n", + file1, file2, i, (int)entries1[i].a_who, (int)entries2[i].a_who); + return 1; + } + if (entries1[i].a_access_mask != entries2[i].a_access_mask) + { + fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different access masks %03o and %03o\n", + file1, file2, i, (unsigned int) entries1[i].a_access_mask, (unsigned int) entries2[i].a_access_mask); + return 1; + } + if (entries1[i].a_flags != entries2[i].a_flags) + { + fprintf (stderr, "files %s and %s: different ACE-ACL entry #%d: different flags 0x%x and 0x%x\n", + file1, file2, i, (unsigned int) entries1[i].a_flags, (unsigned int) entries2[i].a_flags); + return 1; + } + } + } # endif #elif HAVE_GETACL /* HP-UX */ int count1; =============================================================================== Then comes the main part of your rewrite. First the part for Solaris: =============================================================================== 2012-02-19 Paul Eggert <eggert@HIDDEN> Bruno Haible <bruno@HIDDEN> acl: Don't use GETACLCNT and similar ops, since they are unreliable. - There were several instances of this pattern: for (;;) { n = acl (f, GETACLCNT, 0, NULL); [ allocate an array A of size N ] if (acl (f, GETACL, n, a) == n) break; } This loop might never terminate if some other process is constantly manipulating the file's ACL. The loop should be rewritten to terminate. - The acl (... GETACLNT ...) call is merely an optimization; its value is merely a hint as to how big to make the array. A better optimization is to avoid the acl (... GETACLNT ...) call entirely, and just guess a reasonably-big size, growing the size and trying again if it's not large enough. This guarantees termination, and saves a system call. * lib/acl-internal.h: Include <limits.h>. (MIN, SIZE_MAX): New macros. * lib/file-has-acl.c (file_has_acl) [Solaris]: Read the entries into a stack-allocated buffer, and use malloc if it does not fit. Don't use GETACLCNT. * lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise. * lib/copy-acl.c (qcopy_acl) [Solaris]: Likewise. *** lib/acl-internal.h.orig Mon Feb 20 01:10:13 2012 --- lib/acl-internal.h Sun Feb 19 22:59:06 2012 *************** *** 55,60 **** --- 55,69 ---- # define ENOTSUP (-1) #endif + #include <limits.h> + #ifndef MIN + # define MIN(a,b) ((a) < (b) ? (a) : (b)) + #endif + + #ifndef SIZE_MAX + # define SIZE_MAX ((size_t) -1) + #endif + #ifndef HAVE_FCHMOD # define HAVE_FCHMOD false # define fchmod(fd, mode) (-1) *** lib/copy-acl.c.orig Mon Feb 20 01:10:13 2012 --- lib/copy-acl.c Mon Feb 20 01:04:36 2012 *************** *** 181,191 **** of Unixware. The acl() call returns the access and default ACL both at once. */ # ifdef ACE_GETACL int ace_count; - ace_t *ace_entries; # endif int count; - aclent_t *entries; int did_chmod; int saved_errno; int ret; --- 181,207 ---- of Unixware. The acl() call returns the access and default ACL both at once. */ # ifdef ACE_GETACL + enum + { + ace_alloc_init = 4000 / sizeof (ace_t), /* >= 3 */ + ace_alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) + }; + ace_t ace_buf[ace_alloc_init]; + size_t ace_alloc = ace_alloc_init; + ace_t *ace_entries = ace_buf; + ace_t *ace_malloced = NULL; int ace_count; # endif + enum + { + alloc_init = 4000 / sizeof (aclent_t), /* >= 3 */ + alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) + }; + aclent_t buf[alloc_init]; + size_t alloc = alloc_init; + aclent_t *entries = buf; + aclent_t *malloced = NULL; int count; int did_chmod; int saved_errno; int ret; *************** *** 204,308 **** that the kernel will translate the ACL from one form to the other. (See in <http://docs.sun.com/app/docs/doc/819-2241/6n4huc7ia?l=en&a=view> the description of ENOTSUP.) */ for (;;) { ace_count = (source_desc != -1 ! ? facl (source_desc, ACE_GETACLCNT, 0, NULL) ! : acl (src_name, ACE_GETACLCNT, 0, NULL)); ! ! if (ace_count < 0) ! { ! if (errno == ENOSYS || errno == EINVAL) { ! ace_count = 0; ! ace_entries = NULL; ! break; } ! else ! return -2; } ! ! if (ace_count == 0) { ace_entries = NULL; - break; } ! ! ace_entries = (ace_t *) malloc (ace_count * sizeof (ace_t)); ! if (ace_entries == NULL) { ! errno = ENOMEM; return -2; } - - ret = (source_desc != -1 - ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) - : acl (src_name, ACE_GETACL, ace_count, ace_entries)); - if (ret < 0) - { - free (ace_entries); - if (errno == ENOSYS || errno == EINVAL) - { - ace_count = 0; - ace_entries = NULL; - break; - } - else - return -2; - } - if (ret == ace_count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } # endif for (;;) { count = (source_desc != -1 ! ? facl (source_desc, GETACLCNT, 0, NULL) ! : acl (src_name, GETACLCNT, 0, NULL)); ! ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP || errno == EOPNOTSUPP) { ! count = 0; ! entries = NULL; ! break; } ! else ! return -2; } ! ! if (count == 0) { entries = NULL; - break; } ! ! entries = (aclent_t *) malloc (count * sizeof (aclent_t)); ! if (entries == NULL) { ! errno = ENOMEM; return -2; } - - if ((source_desc != -1 - ? facl (source_desc, GETACL, count, entries) - : acl (src_name, GETACL, count, entries)) - == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } /* Is there an ACL of either kind? */ # ifdef ACE_GETACL if (ace_count == 0) # endif if (count == 0) ! return qset_acl (dst_name, dest_desc, mode); did_chmod = 0; /* set to 1 once the mode bits in 0777 have been set */ saved_errno = 0; /* the first non-ignorable error code */ --- 220,339 ---- that the kernel will translate the ACL from one form to the other. (See in <http://docs.sun.com/app/docs/doc/819-2241/6n4huc7ia?l=en&a=view> the description of ENOTSUP.) */ + + /* Initially, try to read the entries into a stack-allocated buffer. + Use malloc if it does not fit. */ for (;;) { ace_count = (source_desc != -1 ! ? facl (source_desc, ACE_GETACL, ace_alloc, ace_entries) ! : acl (src_name, ACE_GETACL, ace_alloc, ace_entries)); ! if (ace_count < 0 && errno == ENOSPC) ! { ! /* Increase the size of the buffer. */ ! free (ace_malloced); ! if (ace_alloc > ace_alloc_max / 2) { ! errno = ENOMEM; ! return -2; } ! ace_alloc = 2 * ace_alloc; /* <= ace_alloc_max */ ! ace_entries = ace_malloced = ! (ace_t *) malloc (ace_alloc * sizeof (ace_t)); ! if (ace_entries == NULL) ! { ! errno = ENOMEM; ! return -2; ! } ! continue; } ! break; ! } ! if (ace_count < 0) ! { ! if (errno == ENOSYS || errno == EINVAL) { + ace_count = 0; ace_entries = NULL; } ! else { ! int saved_errno = errno; ! free (ace_malloced); ! errno = saved_errno; return -2; } } + else if (ace_count == 0) + ace_entries = NULL; # endif + /* Initially, try to read the entries into a stack-allocated buffer. + Use malloc if it does not fit. */ for (;;) { count = (source_desc != -1 ! ? facl (source_desc, GETACL, alloc, entries) ! : acl (src_name, GETACL, alloc, entries)); ! if (count < 0 && errno == ENOSPC) ! { ! /* Increase the size of the buffer. */ ! free (malloced); ! if (alloc > alloc_max / 2) { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! errno = ENOMEM; ! return -2; } ! alloc = 2 * alloc; /* <= alloc_max */ ! entries = malloced = (aclent_t *) malloc (alloc * sizeof (aclent_t)); ! if (entries == NULL) ! { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! errno = ENOMEM; ! return -2; ! } ! continue; } ! break; ! } ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP || errno == EOPNOTSUPP) { + count = 0; entries = NULL; } ! else { ! int saved_errno = errno; ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! free (malloced); ! errno = saved_errno; return -2; } } + else if (count == 0) + entries = NULL; /* Is there an ACL of either kind? */ # ifdef ACE_GETACL if (ace_count == 0) # endif if (count == 0) ! { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! free (malloced); ! return qset_acl (dst_name, dest_desc, mode); ! } did_chmod = 0; /* set to 1 once the mode bits in 0777 have been set */ saved_errno = 0; /* the first non-ignorable error code */ *************** *** 336,342 **** else did_chmod = 1; } ! free (entries); # ifdef ACE_GETACL if (ace_count > 0) --- 367,373 ---- else did_chmod = 1; } ! free (malloced); # ifdef ACE_GETACL if (ace_count > 0) *************** *** 352,358 **** saved_errno = 0; } } ! free (ace_entries); # endif if (MODE_INSIDE_ACL --- 383,389 ---- saved_errno = 0; } } ! free (ace_malloced); # endif if (MODE_INSIDE_ACL *** lib/file-has-acl.c.orig Mon Feb 20 01:10:13 2012 --- lib/file-has-acl.c Mon Feb 20 00:14:37 2012 *************** *** 556,562 **** return ACL_NOT_WELL_SUPPORTED (errno) ? 0 : -1; return ret; ! # elif HAVE_FACL && defined GETACLCNT /* Solaris, Cygwin, not HP-UX */ # if defined ACL_NO_TRIVIAL --- 556,562 ---- return ACL_NOT_WELL_SUPPORTED (errno) ? 0 : -1; return ret; ! # elif HAVE_FACL && defined GETACL /* Solaris, Cygwin, not HP-UX */ # if defined ACL_NO_TRIVIAL *************** *** 570,646 **** /* Solaris 2.5 through Solaris 10, Cygwin, and contemporaneous versions of Unixware. The acl() call returns the access and default ACL both at once. */ - int count; { ! aclent_t *entries; for (;;) { ! count = acl (name, GETACLCNT, 0, NULL); ! ! if (count < 0) { ! if (errno == ENOSYS || errno == ENOTSUP) ! break; ! else ! return -1; } ! ! if (count == 0) ! break; ! /* Don't use MIN_ACL_ENTRIES: It's set to 4 on Cygwin, but Cygwin returns only 3 entries for files with no ACL. But this is safe: If there are more than 4 entries, there cannot be only the "user::", "group::", "other:", and "mask:" entries. */ if (count > 4) - return 1; - - entries = (aclent_t *) malloc (count * sizeof (aclent_t)); - if (entries == NULL) { ! errno = ENOMEM; ! return -1; } ! if (acl (name, GETACL, count, entries) == count) { ! if (acl_nontrivial (count, entries)) ! { ! free (entries); ! return 1; ! } ! free (entries); ! break; } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - free (entries); } } # ifdef ACE_GETACL /* Solaris also has a different variant of ACLs, used in ZFS and NFSv4 file systems (whereas the other ones are used in UFS file systems). */ { ! ace_t *entries; for (;;) { ! int ret; ! ! count = acl (name, ACE_GETACLCNT, 0, NULL); ! ! if (count < 0) { ! if (errno == ENOSYS || errno == EINVAL) ! break; ! else ! return -1; } ! ! if (count == 0) ! break; ! /* In the old (original Solaris 10) convention: If there are more than 3 entries, there cannot be only the ACE_OWNER, ACE_GROUP, ACE_OTHER entries. --- 570,704 ---- /* Solaris 2.5 through Solaris 10, Cygwin, and contemporaneous versions of Unixware. The acl() call returns the access and default ACL both at once. */ { ! /* Initially, try to read the entries into a stack-allocated buffer. ! Use malloc if it does not fit. */ ! enum ! { ! alloc_init = 4000 / sizeof (aclent_t), /* >= 3 */ ! alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) ! }; ! aclent_t buf[alloc_init]; ! size_t alloc = alloc_init; ! aclent_t *entries = buf; ! aclent_t *malloced = NULL; ! int count; for (;;) { ! count = acl (name, GETACL, alloc, entries); ! if (count < 0 && errno == ENOSPC) { ! /* Increase the size of the buffer. */ ! free (malloced); ! if (alloc > alloc_max / 2) ! { ! errno = ENOMEM; ! return -1; ! } ! alloc = 2 * alloc; /* <= alloc_max */ ! entries = malloced = ! (aclent_t *) malloc (alloc * sizeof (aclent_t)); ! if (entries == NULL) ! { ! errno = ENOMEM; ! return -1; ! } ! continue; } ! break; ! } ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP) ! ; ! else ! { ! int saved_errno = errno; ! free (malloced); ! errno = saved_errno; ! return -1; ! } ! } ! else if (count == 0) ! ; ! else ! { /* Don't use MIN_ACL_ENTRIES: It's set to 4 on Cygwin, but Cygwin returns only 3 entries for files with no ACL. But this is safe: If there are more than 4 entries, there cannot be only the "user::", "group::", "other:", and "mask:" entries. */ if (count > 4) { ! free (malloced); ! return 1; } ! ! if (acl_nontrivial (count, entries)) { ! free (malloced); ! return 1; } } + free (malloced); } # ifdef ACE_GETACL /* Solaris also has a different variant of ACLs, used in ZFS and NFSv4 file systems (whereas the other ones are used in UFS file systems). */ { ! /* Initially, try to read the entries into a stack-allocated buffer. ! Use malloc if it does not fit. */ ! enum ! { ! alloc_init = 4000 / sizeof (ace_t), /* >= 3 */ ! alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) ! }; ! ace_t buf[alloc_init]; ! size_t alloc = alloc_init; ! ace_t *entries = buf; ! ace_t *malloced = NULL; ! int count; for (;;) { ! count = acl (name, ACE_GETACL, alloc, entries); ! if (count < 0 && errno == ENOSPC) { ! /* Increase the size of the buffer. */ ! free (malloced); ! if (alloc > alloc_max / 2) ! { ! errno = ENOMEM; ! return -1; ! } ! alloc = 2 * alloc; /* <= alloc_max */ ! entries = malloced = (ace_t *) malloc (alloc * sizeof (ace_t)); ! if (entries == NULL) ! { ! errno = ENOMEM; ! return -1; ! } ! continue; } ! break; ! } ! if (count < 0) ! { ! if (errno == ENOSYS || errno == EINVAL) ! ; ! else ! { ! int saved_errno = errno; ! free (malloced); ! errno = saved_errno; ! return -1; ! } ! } ! else if (count == 0) ! ; ! else ! { /* In the old (original Solaris 10) convention: If there are more than 3 entries, there cannot be only the ACE_OWNER, ACE_GROUP, ACE_OTHER entries. *************** *** 650,686 **** NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ if (count > 6) - return 1; - - entries = (ace_t *) malloc (count * sizeof (ace_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - ret = acl (name, ACE_GETACL, count, entries); - if (ret < 0) { ! free (entries); ! if (errno == ENOSYS || errno == EINVAL) ! break; ! else ! return -1; } ! if (ret == count) { ! if (acl_ace_nontrivial (count, entries)) ! { ! free (entries); ! return 1; ! } ! free (entries); ! break; } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - free (entries); } } # endif --- 708,725 ---- NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ if (count > 6) { ! free (malloced); ! return 1; } ! ! if (acl_ace_nontrivial (count, entries)) { ! free (malloced); ! return 1; } } + free (malloced); } # endif *** lib/set-mode-acl.c.orig Mon Feb 20 01:10:13 2012 --- lib/set-mode-acl.c Mon Feb 20 00:14:51 2012 *************** *** 197,203 **** return chmod_or_fchmod (name, desc, mode); # endif ! # elif HAVE_FACL && defined GETACLCNT /* Solaris, Cygwin, not HP-UX */ int done_setacl = 0; --- 197,203 ---- return chmod_or_fchmod (name, desc, mode); # endif ! # elif HAVE_FACL && defined GETACL /* Solaris, Cygwin, not HP-UX */ int done_setacl = 0; *************** *** 214,268 **** int convention; { int count; - ace_t *entries; for (;;) { ! int ret; ! ! if (desc != -1) ! count = facl (desc, ACE_GETACLCNT, 0, NULL); ! else ! count = acl (name, ACE_GETACLCNT, 0, NULL); ! if (count <= 0) ! { ! convention = -1; ! break; ! } ! entries = (ace_t *) malloc (count * sizeof (ace_t)); ! if (entries == NULL) ! { ! errno = ENOMEM; ! return -1; ! } ! ret = (desc != -1 ! ? facl (desc, ACE_GETACL, count, entries) ! : acl (name, ACE_GETACL, count, entries)); ! if (ret < 0) { ! free (entries); ! convention = -1; ! break; } ! if (ret == count) ! { ! int i; ! convention = 0; ! for (i = 0; i < count; i++) ! if (entries[i].a_flags & (OLD_ACE_OWNER | OLD_ACE_GROUP | OLD_ACE_OTHER)) ! { ! convention = 1; ! break; ! } ! free (entries); ! break; ! } ! /* Huh? The number of ACL entries changed since the last call. ! Repeat. */ ! free (entries); } } if (convention >= 0) --- 214,273 ---- int convention; { + /* Initially, try to read the entries into a stack-allocated buffer. + Use malloc if it does not fit. */ + enum + { + alloc_init = 4000 / sizeof (ace_t), /* >= 3 */ + alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) + }; + ace_t buf[alloc_init]; + size_t alloc = alloc_init; + ace_t *entries = buf; + ace_t *malloced = NULL; int count; for (;;) { ! count = (desc != -1 ! ? facl (desc, ACE_GETACL, alloc, entries) ! : acl (name, ACE_GETACL, alloc, entries)); ! if (count < 0 && errno == ENOSPC) { ! /* Increase the size of the buffer. */ ! free (malloced); ! if (alloc > alloc_max / 2) ! { ! errno = ENOMEM; ! return -1; ! } ! alloc = 2 * alloc; /* <= alloc_max */ ! entries = malloced = (ace_t *) malloc (alloc * sizeof (ace_t)); ! if (entries == NULL) ! { ! errno = ENOMEM; ! return -1; ! } ! continue; } ! break; ! } ! if (count <= 0) ! convention = -1; ! else ! { ! int i; ! ! convention = 0; ! for (i = 0; i < count; i++) ! if (entries[i].a_flags & (OLD_ACE_OWNER | OLD_ACE_GROUP | OLD_ACE_OTHER)) ! { ! convention = 1; ! break; ! } } + free (malloced); } if (convention >= 0) =============================================================================== You would think that commit is fine, right? But it introduces a test failure on Solaris 10 over NFS: files tmpfile0 and tmpfile2: different ACE-ACL entry #0: different access masks 1400207 and 5400607 FAIL: test-copy-acl-2.sh What's happening, is that the test-copy-acl copies wrong ACL entries. In the debugger, I can see the following values. Old code (with ACE_GETACLCNT): (gdb) print ace_entries[0] $3 = {a_who = 1088, a_access_mask = 1442183, a_flags = 4096, a_type = 0} (gdb) print ace_entries[1] $4 = {a_who = 1088, a_access_mask = 32, a_flags = 4096, a_type = 1} (gdb) print ace_entries[2] $5 = {a_who = 1, a_access_mask = 262400, a_flags = 0, a_type = 1} (gdb) print ace_entries[3] $6 = {a_who = 1, a_access_mask = 1179808, a_flags = 0, a_type = 0} (gdb) print ace_entries[4] $7 = {a_who = 1, a_access_mask = 262407, a_flags = 0, a_type = 1} (gdb) print ace_entries[5] $8 = {a_who = 1088, a_access_mask = 262400, a_flags = 8256, a_type = 1} (gdb) print ace_entries[6] $9 = {a_who = 1088, a_access_mask = 1179776, a_flags = 8256, a_type = 0} (gdb) print ace_entries[7] $10 = {a_who = 1088, a_access_mask = 262439, a_flags = 8256, a_type = 1} (gdb) print ace_entries[8] $11 = {a_who = 0, a_access_mask = 1179776, a_flags = 16384, a_type = 0} (gdb) print ace_entries[9] $12 = {a_who = 0, a_access_mask = 262439, a_flags = 16384, a_type = 1} New code (without use of ACE_GETACLCNT): (gdb) print ace_entries[0] $8 = {a_who = 1088, a_access_mask = 393351, a_flags = 4096, a_type = 0} (gdb) print ace_entries[1] $9 = {a_who = 1088, a_access_mask = 32, a_flags = 4096, a_type = 1} (gdb) print ace_entries[2] $10 = {a_who = 1, a_access_mask = 262144, a_flags = 0, a_type = 1} (gdb) print ace_entries[3] $11 = {a_who = 1, a_access_mask = 131232, a_flags = 0, a_type = 0} (gdb) print ace_entries[4] $12 = {a_who = 1, a_access_mask = 262151, a_flags = 0, a_type = 1} (gdb) print ace_entries[5] $13 = {a_who = 1088, a_access_mask = 262144, a_flags = 8256, a_type = 1} (gdb) print ace_entries[6] $14 = {a_who = 1088, a_access_mask = 131200, a_flags = 8256, a_type = 0} (gdb) print ace_entries[7] $15 = {a_who = 1088, a_access_mask = 262183, a_flags = 8256, a_type = 1} (gdb) print ace_entries[8] $16 = {a_who = 0, a_access_mask = 131200, a_flags = 16384, a_type = 0} (gdb) print ace_entries[9] $17 = {a_who = 0, a_access_mask = 262183, a_flags = 16384, a_type = 1} As you can see, most of the a_access_mask values are broken. I haven't yet found out the real cause, but I know that the modification of copy-acl.c triggers it. Therefore I'm not committing this part of the patch today. I attach it, in case you want to experiment further with it. Then the part for HP-UX and NSK: =============================================================================== 2012-02-19 Paul Eggert <eggert@HIDDEN> Bruno Haible <bruno@HIDDEN> acl: Don't use ACL_CNT and similar ops, since they are unreliable. * lib/file-has-acl.c (file_has_acl) [HP-UX, NonStop Kernel]: Read the entries into a stack-allocated buffer directly. * lib/copy-acl.c (qcopy_acl) [HP-UX, NonStop Kernel]: Likewise. *** lib/copy-acl.c.orig Mon Feb 20 01:51:49 2012 --- lib/copy-acl.c Mon Feb 20 01:29:02 2012 *************** *** 408,484 **** #elif USE_ACL && HAVE_GETACL /* HP-UX */ - int count; struct acl_entry entries[NACLENTRIES]; # if HAVE_ACLV_H - int aclv_count; struct acl aclv_entries[NACLVENTRIES]; # endif int did_chmod; int saved_errno; int ret; ! for (;;) ! { ! count = (source_desc != -1 ! ? fgetacl (source_desc, 0, NULL) ! : getacl (src_name, 0, NULL)); ! ! if (count < 0) ! { ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) ! { ! count = 0; ! break; ! } ! else ! return -2; ! } ! ! if (count == 0) ! break; if (count > NACLENTRIES) /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); - - if ((source_desc != -1 - ? fgetacl (source_desc, count, entries) - : getacl (src_name, count, entries)) - == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } # if HAVE_ACLV_H ! for (;;) ! { ! aclv_count = acl ((char *) src_name, ACL_CNT, NACLVENTRIES, aclv_entries); ! ! if (aclv_count < 0) ! { ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) ! { ! count = 0; ! break; ! } ! else ! return -2; ! } ! ! if (aclv_count == 0) ! break; if (aclv_count > NACLVENTRIES) /* If NACLVENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); - - if (acl ((char *) src_name, ACL_GET, aclv_count, aclv_entries) - == aclv_count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } # endif --- 408,456 ---- #elif USE_ACL && HAVE_GETACL /* HP-UX */ struct acl_entry entries[NACLENTRIES]; + int count; # if HAVE_ACLV_H struct acl aclv_entries[NACLVENTRIES]; + int aclv_count; # endif int did_chmod; int saved_errno; int ret; ! count = (source_desc != -1 ! ? fgetacl (source_desc, NACLENTRIES, entries) ! : getacl (src_name, NACLENTRIES, entries)); + if (count < 0) + { + if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) + count = 0; + else + return -2; + } + else if (count > 0) + { if (count > NACLENTRIES) /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); } # if HAVE_ACLV_H ! aclv_count = acl ((char *) src_name, ACL_GET, NACLVENTRIES, aclv_entries); + if (aclv_count < 0) + { + if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) + count = 0; + else + return -2; + } + else if (aclv_count > 0) + { if (aclv_count > NACLVENTRIES) /* If NACLVENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); } # endif *************** *** 589,624 **** #elif USE_ACL && HAVE_ACLSORT /* NonStop Kernel */ - int count; struct acl entries[NACLENTRIES]; int ret; ! for (;;) ! { ! count = acl ((char *) src_name, ACL_CNT, NACLENTRIES, NULL); ! ! if (count < 0) ! { ! if (0) ! { ! count = 0; ! break; ! } ! else ! return -2; ! } ! ! if (count == 0) ! break; if (count > NACLENTRIES) /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); - - if (acl ((char *) src_name, ACL_GET, count, entries) == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } if (count == 0) --- 561,584 ---- #elif USE_ACL && HAVE_ACLSORT /* NonStop Kernel */ struct acl entries[NACLENTRIES]; + int count; int ret; ! count = acl ((char *) src_name, ACL_GET, NACLENTRIES, entries); + if (count < 0) + { + if (0) + count = 0; + else + return -2; + } + else if (count > 0) + { if (count > NACLENTRIES) /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ abort (); } if (count == 0) *** lib/file-has-acl.c.orig Mon Feb 20 01:51:49 2012 --- lib/file-has-acl.c Mon Feb 20 01:49:41 2012 *************** *** 728,765 **** # elif HAVE_GETACL /* HP-UX */ ! for (;;) ! { ! int count; ! struct acl_entry entries[NACLENTRIES]; ! ! count = getacl (name, 0, NULL); ! ! if (count < 0) ! { ! /* ENOSYS is seen on newer HP-UX versions. ! EOPNOTSUPP is typically seen on NFS mounts. ! ENOTSUP was seen on Quantum StorNext file systems (cvfs). */ ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) ! break; ! else ! return -1; ! } ! ! if (count == 0) ! return 0; ! ! if (count > NACLENTRIES) ! /* If NACLENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 3 entries, there cannot be only the ! (uid,%), (%,gid), (%,%) entries. */ ! if (count > 3) ! return 1; - if (getacl (name, count, entries) == count) { struct stat statbuf; --- 728,763 ---- # elif HAVE_GETACL /* HP-UX */ ! { ! struct acl_entry entries[NACLENTRIES]; ! int count; ! ! count = getacl (name, NACLENTRIES, entries); ! ! if (count < 0) ! { ! /* ENOSYS is seen on newer HP-UX versions. ! EOPNOTSUPP is typically seen on NFS mounts. ! ENOTSUP was seen on Quantum StorNext file systems (cvfs). */ ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) ! ; ! else ! return -1; ! } ! else if (count == 0) ! return 0; ! else /* count > 0 */ ! { ! if (count > NACLENTRIES) ! /* If NACLENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 3 entries, there cannot be only the ! (uid,%), (%,gid), (%,%) entries. */ ! if (count > 3) ! return 1; { struct stat statbuf; *************** *** 768,814 **** return acl_nontrivial (count, entries, &statbuf); } ! /* Huh? The number of ACL entries changed since the last call. ! Repeat. */ ! } # if HAVE_ACLV_H /* HP-UX >= 11.11 */ ! for (;;) ! { ! int count; ! struct acl entries[NACLVENTRIES]; ! ! count = acl ((char *) name, ACL_CNT, NACLVENTRIES, entries); ! ! if (count < 0) ! { ! /* EOPNOTSUPP is seen on NFS in HP-UX 11.11, 11.23. ! EINVAL is seen on NFS in HP-UX 11.31. */ ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) ! break; ! else ! return -1; ! } ! ! if (count == 0) ! return 0; ! ! if (count > NACLVENTRIES) ! /* If NACLVENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 4 entries, there cannot be only the ! four base ACL entries. */ ! if (count > 4) ! return 1; - if (acl ((char *) name, ACL_GET, count, entries) == count) return aclv_nontrivial (count, entries); ! /* Huh? The number of ACL entries changed since the last call. ! Repeat. */ ! } # endif --- 766,808 ---- return acl_nontrivial (count, entries, &statbuf); } ! } ! } # if HAVE_ACLV_H /* HP-UX >= 11.11 */ ! { ! struct acl entries[NACLVENTRIES]; ! int count; ! ! count = acl ((char *) name, ACL_GET, NACLVENTRIES, entries); ! ! if (count < 0) ! { ! /* EOPNOTSUPP is seen on NFS in HP-UX 11.11, 11.23. ! EINVAL is seen on NFS in HP-UX 11.31. */ ! if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) ! ; ! else ! return -1; ! } ! else if (count == 0) ! return 0; ! else /* count > 0 */ ! { ! if (count > NACLVENTRIES) ! /* If NACLVENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 4 entries, there cannot be only the ! four base ACL entries. */ ! if (count > 4) ! return 1; return aclv_nontrivial (count, entries); ! } ! } # endif *************** *** 885,923 **** # elif HAVE_ACLSORT /* NonStop Kernel */ ! int count; ! struct acl entries[NACLENTRIES]; ! ! for (;;) ! { ! count = acl ((char *) name, ACL_CNT, NACLENTRIES, NULL); ! ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP) ! break; ! else ! return -1; ! } ! ! if (count == 0) ! return 0; ! ! if (count > NACLENTRIES) ! /* If NACLENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 4 entries, there cannot be only the ! four base ACL entries. */ ! if (count > 4) ! return 1; - if (acl ((char *) name, ACL_GET, count, entries) == count) return acl_nontrivial (count, entries); ! /* Huh? The number of ACL entries changed since the last call. ! Repeat. */ ! } # endif } --- 879,914 ---- # elif HAVE_ACLSORT /* NonStop Kernel */ ! { ! struct acl entries[NACLENTRIES]; ! int count; ! ! count = acl ((char *) name, ACL_GET, NACLENTRIES, entries); ! ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP) ! ; ! else ! return -1; ! } ! else if (count == 0) ! return 0; ! else /* count > 0 */ ! { ! if (count > NACLENTRIES) ! /* If NACLENTRIES cannot be trusted, use dynamic memory ! allocation. */ ! abort (); ! ! /* If there are more than 4 entries, there cannot be only the ! four base ACL entries. */ ! if (count > 4) ! return 1; return acl_nontrivial (count, entries); ! } ! } # endif } =============================================================================== Bruno --nextPart2885548.ZUiKSnAd4x Content-Disposition: attachment; filename="acl-solaris10-nfs-breakage.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="acl-solaris10-nfs-breakage.diff" diff --git a/lib/copy-acl.c b/lib/copy-acl.c *** a/lib/copy-acl.c --- b/lib/copy-acl.c *************** *** 181,191 **** of Unixware. The acl() call returns the access and default ACL both at once. */ # ifdef ACE_GETACL int ace_count; - ace_t *ace_entries; # endif int count; - aclent_t *entries; int did_chmod; int saved_errno; int ret; --- 181,207 ---- of Unixware. The acl() call returns the access and default ACL both at once. */ # ifdef ACE_GETACL + enum + { + ace_alloc_init = 4000 / sizeof (ace_t), /* >= 3 */ + ace_alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (ace_t)) + }; + ace_t ace_buf[ace_alloc_init]; + size_t ace_alloc = ace_alloc_init; + ace_t *ace_entries = ace_buf; + ace_t *ace_malloced = NULL; int ace_count; # endif + enum + { + alloc_init = 4000 / sizeof (aclent_t), /* >= 3 */ + alloc_max = MIN (INT_MAX, SIZE_MAX / sizeof (aclent_t)) + }; + aclent_t buf[alloc_init]; + size_t alloc = alloc_init; + aclent_t *entries = buf; + aclent_t *malloced = NULL; int count; int did_chmod; int saved_errno; int ret; *************** *** 204,308 **** that the kernel will translate the ACL from one form to the other. (See in <http://docs.sun.com/app/docs/doc/819-2241/6n4huc7ia?l=en&a=view> the description of ENOTSUP.) */ for (;;) { ace_count = (source_desc != -1 ! ? facl (source_desc, ACE_GETACLCNT, 0, NULL) ! : acl (src_name, ACE_GETACLCNT, 0, NULL)); ! ! if (ace_count < 0) { ! if (errno == ENOSYS || errno == EINVAL) { ! ace_count = 0; ! ace_entries = NULL; ! break; } ! else ! return -2; } ! ! if (ace_count == 0) { ace_entries = NULL; - break; } ! ! ace_entries = (ace_t *) malloc (ace_count * sizeof (ace_t)); ! if (ace_entries == NULL) { ! errno = ENOMEM; return -2; } - - ret = (source_desc != -1 - ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) - : acl (src_name, ACE_GETACL, ace_count, ace_entries)); - if (ret < 0) - { - free (ace_entries); - if (errno == ENOSYS || errno == EINVAL) - { - ace_count = 0; - ace_entries = NULL; - break; - } - else - return -2; - } - if (ret == ace_count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } # endif for (;;) { count = (source_desc != -1 ! ? facl (source_desc, GETACLCNT, 0, NULL) ! : acl (src_name, GETACLCNT, 0, NULL)); ! ! if (count < 0) { ! if (errno == ENOSYS || errno == ENOTSUP || errno == EOPNOTSUPP) { ! count = 0; ! entries = NULL; ! break; } ! else ! return -2; } ! ! if (count == 0) { entries = NULL; - break; } ! ! entries = (aclent_t *) malloc (count * sizeof (aclent_t)); ! if (entries == NULL) { ! errno = ENOMEM; return -2; } - - if ((source_desc != -1 - ? facl (source_desc, GETACL, count, entries) - : acl (src_name, GETACL, count, entries)) - == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } /* Is there an ACL of either kind? */ # ifdef ACE_GETACL if (ace_count == 0) # endif if (count == 0) ! return qset_acl (dst_name, dest_desc, mode); did_chmod = 0; /* set to 1 once the mode bits in 0777 have been set */ saved_errno = 0; /* the first non-ignorable error code */ --- 220,339 ---- that the kernel will translate the ACL from one form to the other. (See in <http://docs.sun.com/app/docs/doc/819-2241/6n4huc7ia?l=en&a=view> the description of ENOTSUP.) */ + + /* Initially, try to read the entries into a stack-allocated buffer. + Use malloc if it does not fit. */ for (;;) { ace_count = (source_desc != -1 ! ? facl (source_desc, ACE_GETACL, ace_alloc, ace_entries) ! : acl (src_name, ACE_GETACL, ace_alloc, ace_entries)); ! if (ace_count < 0 && errno == ENOSPC) { ! /* Increase the size of the buffer. */ ! free (ace_malloced); ! if (ace_alloc > ace_alloc_max / 2) ! { ! errno = ENOMEM; ! return -2; ! } ! ace_alloc = 2 * ace_alloc; /* <= ace_alloc_max */ ! ace_entries = ace_malloced = ! (ace_t *) malloc (ace_alloc * sizeof (ace_t)); ! if (ace_entries == NULL) { ! errno = ENOMEM; ! return -2; } ! continue; } ! break; ! } ! if (ace_count < 0) ! { ! if (errno == ENOSYS || errno == EINVAL) { + ace_count = 0; ace_entries = NULL; } ! else { ! int saved_errno = errno; ! free (ace_malloced); ! errno = saved_errno; return -2; } } + else if (ace_count == 0) + ace_entries = NULL; # endif + /* Initially, try to read the entries into a stack-allocated buffer. + Use malloc if it does not fit. */ for (;;) { count = (source_desc != -1 ! ? facl (source_desc, GETACL, alloc, entries) ! : acl (src_name, GETACL, alloc, entries)); ! if (count < 0 && errno == ENOSPC) { ! /* Increase the size of the buffer. */ ! free (malloced); ! if (alloc > alloc_max / 2) ! { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! errno = ENOMEM; ! return -2; ! } ! alloc = 2 * alloc; /* <= alloc_max */ ! entries = malloced = (aclent_t *) malloc (alloc * sizeof (aclent_t)); ! if (entries == NULL) { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! errno = ENOMEM; ! return -2; } ! continue; } ! break; ! } ! if (count < 0) ! { ! if (errno == ENOSYS || errno == ENOTSUP || errno == EOPNOTSUPP) { + count = 0; entries = NULL; } ! else { ! int saved_errno = errno; ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! free (malloced); ! errno = saved_errno; return -2; } } + else if (count == 0) + entries = NULL; /* Is there an ACL of either kind? */ # ifdef ACE_GETACL if (ace_count == 0) # endif if (count == 0) ! { ! # ifdef ACE_GETACL ! free (ace_malloced); ! # endif ! free (malloced); ! return qset_acl (dst_name, dest_desc, mode); ! } did_chmod = 0; /* set to 1 once the mode bits in 0777 have been set */ saved_errno = 0; /* the first non-ignorable error code */ *************** *** 336,342 **** else did_chmod = 1; } ! free (entries); # ifdef ACE_GETACL if (ace_count > 0) --- 367,373 ---- else did_chmod = 1; } ! free (malloced); # ifdef ACE_GETACL if (ace_count > 0) *************** *** 352,358 **** saved_errno = 0; } } ! free (ace_entries); # endif if (MODE_INSIDE_ACL --- 383,389 ---- saved_errno = 0; } } ! free (ace_malloced); # endif if (MODE_INSIDE_ACL --nextPart2885548.ZUiKSnAd4x--
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 2 Feb 2012 07:08:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 02 02:08:00 2012 Received: from localhost ([127.0.0.1]:49913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Rsqlz-00019L-1h for submit <at> debbugs.gnu.org; Thu, 02 Feb 2012 02:08:00 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:48004) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eggert@HIDDEN>) id 1Rsqlu-000194-IC for 10639 <at> debbugs.gnu.org; Thu, 02 Feb 2012 02:07:57 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A0399A60001; Wed, 1 Feb 2012 23:07:22 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 42sxg+pTRIlX; Wed, 1 Feb 2012 23:07:20 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 6E89139E8007; Wed, 1 Feb 2012 23:07:20 -0800 (PST) Message-ID: <4F2A362A.40201@HIDDEN> Date: Wed, 01 Feb 2012 23:07:22 -0800 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: Bruno Haible <bruno@HIDDEN> Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit References: <201201291720.q0THKvRW010730@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AEA3B@HIDDEN> <4F290262.3050702@HIDDEN> <1554628.7qhAqzUlk2@linuix> In-Reply-To: <1554628.7qhAqzUlk2@linuix> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: "JONES, BILL" <rj7252@HIDDEN>, "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org>, bug-gnulib@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) On 02/01/2012 02:22 AM, Bruno Haible wrote: > I find it overkill to change the code for HP-UX and NonStop systems > when the report is about Solaris. Also I think the structure of the loop > is not the problem; it is the code's reaction to > acl("x", ACE_GETACL, 4, 0x3432A16E0) Err#-1 The patch you sent looks like it'll fix that particular bug, but while looking into this I discovered so many bugs in this area, mostly hard-to-test race conditions and overflows, that I thought it better to rewrite the affected code than to try to fix each bug one at a time. I didn't write this up very well, and my first cut at doing this could stand some improvements of its own. Here's a revised patch that tries to do a better job at all this. (If it's any consolation, this patch makes the code simpler -- 186 lines shorter....) diff --git a/ChangeLog b/ChangeLog index f80c7dd..ec16bef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,89 @@ +2012-02-01 Paul Eggert <eggert@HIDDEN> + + acl: fix several problems with ACLs + Problem with infinite loop on Solaris 10 + vxfs reported by Bill + Jones in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10639>. + Looking into the code, I saw several closely related issues: + + - There's a race condition in this kind of code: + + n = acl (f, GETACLCNT, 0, NULL); + [ allocate an array A of size N ] + if (acl (f, GETACL, n, a) == n) + return ok; + + The ACL can grow in size between the first and second calls to + 'acl', which means that the second 'acl' returns a truncated + ACL but thinks that it has the whole thing. To avoid this, the + following pattern should be used instead: + + n = acl (f, GETACLCNT, 0, NULL); + [ allocate an array A of size N + 1 ] + n1 = acl (f, GETACL, n + 1, a); + if (0 < n1 && n1 <= n) + return ok; + + - There were several instances of this pattern: + + for (;;) { + n = acl (f, GETACLCNT, 0, NULL); + [ allocate an array A of size N ] + if (acl (f, GETACL, n, a) == n) + break; + } + + This loop might never terminate if some other process is constantly + manipulating the file's ACL. The loop should be rewritten to + terminate. + + - The acl (... GETACLNT ...) call is merely an optimization; its value + is merely a hint as to how big to make the array. A better + optimization is to avoid the acl (... GETACLNT ...) call entirely, + and just guess a reasonably-big size, growing the size and trying + again if it's not large enough. This guarantees termination, and + saves a system call. + + - With this approach, for ports like HP-UX that have an upper bound + for the ACL length, there's no longer any need to loop reading the + ACL. Just read it once and you're done reading it. + + - For ports like Solaris that do need to loop (because the ACL length + is not known a priori), it's faster to allocate a reasonably-sized + buffer on the stack and use that, and to allocate something on the + heap only if the ACL is unusually large. This avoids malloc in the + usual case. + + - The code that calculated sizes of these arrays did not check for + overflow in size calculations; it should. + + - There are some memory leaks. For example, in qcopy_acl, if acl + (src_name, GETACLCNT, 0, NULL) < 0 && errno == EPERM, then the + storage for ace_entries leaks. Similarly, if acl (src_name, + ACE_GETACL, ace_count, ace_entries) returns -1, the storage for + ace_entries leaks. + + - In qset_acl, there's sometimes no need to read the entire ACL + to determine the convention; this can save system calls when + looking at very large ACLs. + + Rather than fix these bugs one at a time I thought it more efficient + to rewrite the affected code, as follows: + * lib/acl-internal.h (GETACLCNT): Remove; no longer needed. + Include <limits.h>. + (MIN): New macro. + * lib/copy-acl.c (qcopy_acl): Don't bother to count ACL entries + before getting them. Instead, just get them, and make sure that + the number of entries gotten is less than the number requested. + This avoids a race condition and omits a system call in the usual + case. Before, it could have been the case that we asked for and + received N entries, but these were the first N of more than N + actual entries, if the ACL was modified while we were getting it. + With this change, there is no need to use GETACLCNT or similar ops. + Check for size-calculation overflow. + Avoid need for dynamic allocation if possible. + * lib/file-has-acl.c (file_has_acl): Likewise. + * lib/set-mode-acl.c (qset_acl): Likewise. + 2012-01-31 Karl Berry <karl@HIDDEN> setstate doc: typo. diff --git a/lib/acl-internal.h b/lib/acl-internal.h index 88e5e45..1548ce1 100644 --- a/lib/acl-internal.h +++ b/lib/acl-internal.h @@ -26,9 +26,6 @@ #if HAVE_SYS_ACL_H # include <sys/acl.h> #endif -#if defined HAVE_FACL && ! defined GETACLCNT && defined ACL_CNT -# define GETACLCNT ACL_CNT -#endif /* On Linux, additional ACL related API is available in <acl/libacl.h>. */ #ifdef HAVE_ACL_LIBACL_H @@ -55,6 +52,12 @@ extern int aclsort (int, int, struct acl *); # define ENOTSUP (-1) #endif +#include <limits.h> + +#ifndef MIN +# define MIN(a,b) ((a) < (b) ? (a) : (b)) +#endif + #ifndef HAVE_FCHMOD # define HAVE_FCHMOD false # define fchmod(fd, mode) (-1) diff --git a/lib/copy-acl.c b/lib/copy-acl.c index 9b9f033..2c24b36 100644 --- a/lib/copy-acl.c +++ b/lib/copy-acl.c @@ -181,11 +181,25 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, of Unixware. The acl() call returns the access and default ACL both at once. */ # ifdef ACE_GETACL + enum { + ace_alloc_init = 4000 / sizeof (ace_t), + ace_alloc_max = MIN (INT_MAX, (size_t) -1 / sizeof (ace_t)) + }; int ace_count; - ace_t *ace_entries; + int ace_alloc = ace_alloc_init; + ace_t ace_buf[ace_alloc_init]; + ace_t *ace_entries = ace_buf; # endif + void *ace_malloced = NULL; + enum { + acl_alloc_init = 4000 / sizeof (aclent_t), + acl_alloc_max = MIN (INT_MAX, (size_t) -1 / sizeof (aclent_t)) + }; int count; - aclent_t *entries; + int acl_alloc = acl_alloc_init; + aclent_t acl_buf[acl_alloc_init]; + aclent_t *entries = acl_buf; + aclent_t *acl_malloced = NULL; int did_chmod; int saved_errno; int ret; @@ -204,85 +218,71 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, that the kernel will translate the ACL from one form to the other. (See in <http://docs.sun.com/app/docs/doc/819-2241/6n4huc7ia?l=en&a=view> the description of ENOTSUP.) */ - for (;;) + while ((ace_count = (source_desc != -1 + ? facl (source_desc, ACE_GETACL, ace_alloc, ace_entries) + : acl (src_name, ACE_GETACL, ace_alloc, ace_entries))) + == ace_alloc) { - ace_count = (source_desc != -1 - ? facl (source_desc, ACE_GETACLCNT, 0, NULL) - : acl (src_name, ACE_GETACLCNT, 0, NULL)); - - if (ace_count < 0) - { - if (errno == ENOSYS || errno == EINVAL) - { - ace_count = 0; - ace_entries = NULL; - break; - } - else - return -2; - } - - if (ace_count == 0) - { - ace_entries = NULL; - break; - } - - ace_entries = (ace_t *) malloc (ace_count * sizeof (ace_t)); - if (ace_entries == NULL) + free (ace_malloced); + ace_alloc = (ace_alloc <= ace_alloc_max / 2 + ? 2 * ace_alloc + : ace_alloc_max); + ace_entries = ace_malloced = (ace_count == ace_alloc_max + ? NULL + : malloc (ace_alloc * sizeof (ace_t))); + if (! ace_malloced) { errno = ENOMEM; return -2; } - - if ((source_desc != -1 - ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) - : acl (src_name, ACE_GETACL, ace_count, ace_entries)) - == ace_count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ } -# endif - for (;;) + if (ace_count < 0) { - count = (source_desc != -1 - ? facl (source_desc, GETACLCNT, 0, NULL) - : acl (src_name, GETACLCNT, 0, NULL)); - - if (count < 0) + int ace_errno = errno; + if (! (ace_errno == ENOSYS || ace_errno == EINVAL)) { - if (errno == ENOSYS || errno == ENOTSUP || errno == EOPNOTSUPP) - { - count = 0; - entries = NULL; - break; - } - else - return -2; + free (ace_malloced); + errno = ace_errno; + return -2; } + ace_count = 0; + } - if (count == 0) - { - entries = NULL; - break; - } +# endif - entries = (aclent_t *) malloc (count * sizeof (aclent_t)); - if (entries == NULL) + while ((count = (source_desc != -1 + ? facl (source_desc, GETACL, acl_alloc, entries) + : acl (src_name, GETACL, acl_alloc, entries))) + == acl_alloc) + { + free (acl_malloced); + acl_alloc = (acl_alloc <= acl_alloc_max / 2 + ? 2 * acl_alloc + : acl_alloc_max); + entries = acl_malloced = (count == acl_alloc_max + ? NULL + : malloc (acl_alloc * sizeof (aclent_t))); + if (! acl_malloced) { + free (ace_malloced); errno = ENOMEM; return -2; } + } - if ((source_desc != -1 - ? facl (source_desc, GETACL, count, entries) - : acl (src_name, GETACL, count, entries)) - == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ + if (count < 0) + { + int acl_errno = errno; + if (! (acl_errno == ENOSYS || acl_errno == ENOTSUP + || acl_errno == EOPNOTSUPP)) + { + free (ace_malloced); + free (acl_malloced); + errno = acl_errno; + return -2; + } + count = 0; } /* Is there an ACL of either kind? */ @@ -290,7 +290,11 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, if (ace_count == 0) # endif if (count == 0) - return qset_acl (dst_name, dest_desc, mode); + { + free (ace_malloced); + free (acl_malloced); + return qset_acl (dst_name, dest_desc, mode); + } did_chmod = 0; /* set to 1 once the mode bits in 0777 have been set */ saved_errno = 0; /* the first non-ignorable error code */ @@ -324,7 +328,7 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, else did_chmod = 1; } - free (entries); + free (acl_malloced); # ifdef ACE_GETACL if (ace_count > 0) @@ -340,7 +344,7 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, saved_errno = 0; } } - free (ace_entries); + free (ace_malloced); # endif if (MODE_INSIDE_ACL @@ -366,77 +370,44 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, #elif USE_ACL && HAVE_GETACL /* HP-UX */ int count; - struct acl_entry entries[NACLENTRIES]; + struct acl_entry entries[NACLENTRIES + 1]; # if HAVE_ACLV_H int aclv_count; - struct acl aclv_entries[NACLVENTRIES]; + struct acl aclv_entries[NACLVENTRIES + 1]; # endif int did_chmod; int saved_errno; int ret; - for (;;) - { - count = (source_desc != -1 - ? fgetacl (source_desc, 0, NULL) - : getacl (src_name, 0, NULL)); + count = (source_desc != -1 + ? fgetacl (source_desc, NACLENTRIES + 1, entries) + : getacl (src_name, NACLENTRIES + 1, entries)); - if (count < 0) - { - if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) - { - count = 0; - break; - } - else - return -2; - } - - if (count == 0) - break; - - if (count > NACLENTRIES) - /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ - abort (); - - if ((source_desc != -1 - ? fgetacl (source_desc, count, entries) - : getacl (src_name, count, entries)) - == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ + if (count < 0) + { + if (! (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP)) + return -2; + count = 0; } -# if HAVE_ACLV_H - for (;;) - { - aclv_count = acl ((char *) src_name, ACL_CNT, NACLVENTRIES, aclv_entries); + if (NACLENTRIES < count) + /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ + abort (); - if (aclv_count < 0) - { - if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) - { - count = 0; - break; - } - else - return -2; - } +# if HAVE_ACLV_H + aclv_count = acl ((char *) src_name, ACL_GET, NACLVENTRIES + 1, aclv_entries); - if (aclv_count == 0) - break; + if (aclv_count < 0) + { + if (! (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL)) + return -2; + aclv_count = 0; + } - if (aclv_count > NACLVENTRIES) - /* If NACLVENTRIES cannot be trusted, use dynamic memory allocation. */ - abort (); + if (NACLVENTRIES < aclv_count) + /* If NACLVENTRIES cannot be trusted, use dynamic memory allocation. */ + abort (); - if (acl ((char *) src_name, ACL_GET, aclv_count, aclv_entries) - == aclv_count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - } # endif if (count == 0) @@ -546,37 +517,16 @@ qcopy_acl (const char *src_name, int source_desc, const char *dst_name, #elif USE_ACL && HAVE_ACLSORT /* NonStop Kernel */ - int count; - struct acl entries[NACLENTRIES]; + struct acl entries[NACLENTRIES + 1]; + int count = acl ((char *) src_name, ACL_GET, NACLENTRIES + 1, entries); int ret; - for (;;) - { - count = acl ((char *) src_name, ACL_CNT, NACLENTRIES, NULL); - - if (count < 0) - { - if (0) - { - count = 0; - break; - } - else - return -2; - } - - if (count == 0) - break; - - if (count > NACLENTRIES) - /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ - abort (); + if (count < 0) + return -2; - if (acl ((char *) src_name, ACL_GET, count, entries) == count) - break; - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - } + if (NACLENTRIES < count) + /* If NACLENTRIES cannot be trusted, use dynamic memory allocation. */ + abort (); if (count == 0) return qset_acl (dst_name, dest_desc, mode); diff --git a/lib/file-has-acl.c b/lib/file-has-acl.c index b7c1484..41e750f 100644 --- a/lib/file-has-acl.c +++ b/lib/file-has-acl.c @@ -518,7 +518,7 @@ file_has_acl (char const *name, struct stat const *sb) return ACL_NOT_WELL_SUPPORTED (errno) ? 0 : -1; return ret; -# elif HAVE_FACL && defined GETACLCNT /* Solaris, Cygwin, not HP-UX */ +# elif HAVE_FACL && defined GETACL /* Solaris, Cygwin, not HP-UX */ # if defined ACL_NO_TRIVIAL @@ -532,107 +532,34 @@ file_has_acl (char const *name, struct stat const *sb) /* Solaris 2.5 through Solaris 10, Cygwin, and contemporaneous versions of Unixware. The acl() call returns the access and default ACL both at once. */ - int count; - { - aclent_t *entries; - - for (;;) - { - count = acl (name, GETACLCNT, 0, NULL); - - if (count < 0) - { - if (errno == ENOSYS || errno == ENOTSUP) - break; - else - return -1; - } - - if (count == 0) - break; - - /* Don't use MIN_ACL_ENTRIES: It's set to 4 on Cygwin, but Cygwin - returns only 3 entries for files with no ACL. But this is safe: - If there are more than 4 entries, there cannot be only the - "user::", "group::", "other:", and "mask:" entries. */ - if (count > 4) - return 1; - - entries = (aclent_t *) malloc (count * sizeof (aclent_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - if (acl (name, GETACL, count, entries) == count) - { - if (acl_nontrivial (count, entries)) - { - free (entries); - return 1; - } - free (entries); - break; - } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - free (entries); - } - } + aclent_t entries[5]; + int count = acl (name, GETACL, 5, entries); + if (0 <= count) + return acl_nontrivial (count, entries); + if (! (errno == ENOSYS || errno == ENOTSUP)) + return -1; # ifdef ACE_GETACL + /* Solaris also has a different variant of ACLs, used in ZFS and NFSv4 - file systems (whereas the other ones are used in UFS file systems). */ - { - ace_t *entries; - - for (;;) - { - count = acl (name, ACE_GETACLCNT, 0, NULL); - - if (count < 0) - { - if (errno == ENOSYS || errno == EINVAL) - break; - else - return -1; - } - - if (count == 0) - break; - - /* In the old (original Solaris 10) convention: - If there are more than 3 entries, there cannot be only the - ACE_OWNER, ACE_GROUP, ACE_OTHER entries. - In the newer Solaris 10 and Solaris 11 convention: - If there are more than 6 entries, there cannot be only the - ACE_OWNER, ACE_GROUP, ACE_EVERYONE entries, each once with - NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with - NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ - if (count > 6) - return 1; - - entries = (ace_t *) malloc (count * sizeof (ace_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - if (acl (name, ACE_GETACL, count, entries) == count) - { - if (acl_ace_nontrivial (count, entries)) - { - free (entries); - return 1; - } - free (entries); - break; - } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - free (entries); - } - } + file systems (whereas the other ones are used in UFS file systems). + + In the old (original Solaris 10) convention: + If there are more than 3 entries, there cannot be only the + ACE_OWNER, ACE_GROUP, ACE_OTHER entries. + In the newer Solaris 10 and Solaris 11 convention: + If there are more than 6 entries, there cannot be only the + ACE_OWNER, ACE_GROUP, ACE_EVERYONE entries, each once with + NEW_ACE_ACCESS_ALLOWED_ACE_TYPE and once with + NEW_ACE_ACCESS_DENIED_ACE_TYPE. */ + + ace_t entries[7]; + int count = acl (name, ACE_GETACL, 7, entries); + if (0 <= count) + return acl_ace_nontrivial (count, entries); + if (! (errno == ENOSYS || errno == EINVAL)) + return -1; + # endif return 0; @@ -640,87 +567,48 @@ file_has_acl (char const *name, struct stat const *sb) # elif HAVE_GETACL /* HP-UX */ - for (;;) - { - int count; - struct acl_entry entries[NACLENTRIES]; - - count = getacl (name, 0, NULL); - - if (count < 0) - { - /* ENOSYS is seen on newer HP-UX versions. - EOPNOTSUPP is typically seen on NFS mounts. - ENOTSUP was seen on Quantum StorNext file systems (cvfs). */ - if (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP) - break; - else - return -1; - } - - if (count == 0) - return 0; - - if (count > NACLENTRIES) - /* If NACLENTRIES cannot be trusted, use dynamic memory - allocation. */ - abort (); + struct acl_entry entries[4]; + int count = getacl (name, 4, entries); + if (count < 0) + { + /* ENOSYS is seen on newer HP-UX versions. + EOPNOTSUPP is typically seen on NFS mounts. + ENOTSUP was seen on Quantum StorNext file systems (cvfs). */ + if (! (errno == ENOSYS || errno == EOPNOTSUPP || errno == ENOTSUP)) + return -1; + } + else if (count == 0) + return 0; + elif (count > 3) + { /* If there are more than 3 entries, there cannot be only the (uid,%), (%,gid), (%,%) entries. */ - if (count > 3) - return 1; - - if (getacl (name, count, entries) == count) - { - struct stat statbuf; - - if (stat (name, &statbuf) < 0) - return -1; - - return acl_nontrivial (count, entries, &statbuf); - } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ + return 1; } - -# if HAVE_ACLV_H /* HP-UX >= 11.11 */ - - for (;;) + else { - int count; - struct acl entries[NACLVENTRIES]; - - count = acl ((char *) name, ACL_CNT, NACLVENTRIES, entries); + struct stat statbuf; - if (count < 0) - { - /* EOPNOTSUPP is seen on NFS in HP-UX 11.11, 11.23. - EINVAL is seen on NFS in HP-UX 11.31. */ - if (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL) - break; - else - return -1; - } - - if (count == 0) - return 0; + if (stat (name, &statbuf) < 0) + return -1; - if (count > NACLVENTRIES) - /* If NACLVENTRIES cannot be trusted, use dynamic memory - allocation. */ - abort (); + return acl_nontrivial (count, entries, &statbuf); + } - /* If there are more than 4 entries, there cannot be only the - four base ACL entries. */ - if (count > 4) - return 1; +# if HAVE_ACLV_H /* HP-UX >= 11.11 */ - if (acl ((char *) name, ACL_GET, count, entries) == count) - return aclv_nontrivial (count, entries); - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - } + { + struct acl entries[5]; + int count = acl ((char *) name, ACL_GET, 5, entries); + if (0 <= count) + return aclv_nontrivial (count, entries); + + /* EOPNOTSUPP is seen on NFS in HP-UX 11.11, 11.23. + EINVAL is seen on NFS in HP-UX 11.31. */ + if (! (errno == ENOSYS || errno == EOPNOTSUPP || errno == EINVAL)) + return -1; + } # endif @@ -798,38 +686,12 @@ file_has_acl (char const *name, struct stat const *sb) # elif HAVE_ACLSORT /* NonStop Kernel */ int count; - struct acl entries[NACLENTRIES]; - - for (;;) - { - count = acl ((char *) name, ACL_CNT, NACLENTRIES, NULL); - - if (count < 0) - { - if (errno == ENOSYS || errno == ENOTSUP) - break; - else - return -1; - } - - if (count == 0) - return 0; - - if (count > NACLENTRIES) - /* If NACLENTRIES cannot be trusted, use dynamic memory - allocation. */ - abort (); - - /* If there are more than 4 entries, there cannot be only the - four base ACL entries. */ - if (count > 4) - return 1; - - if (acl ((char *) name, ACL_GET, count, entries) == count) - return acl_nontrivial (count, entries); - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - } + struct acl entries[5]; + int count = acl ((char *) name, ACL_GET, 5, entries); + if (0 <= count) + return acl_nontrivial (count, entries); + if (! (errno == ENOSYS || errno == ENOTSUP)) + return -1; # endif } diff --git a/lib/set-mode-acl.c b/lib/set-mode-acl.c index a81b321..a1df9be 100644 --- a/lib/set-mode-acl.c +++ b/lib/set-mode-acl.c @@ -197,7 +197,7 @@ qset_acl (char const *name, int desc, mode_t mode) return chmod_or_fchmod (name, desc, mode); # endif -# elif HAVE_FACL && defined GETACLCNT /* Solaris, Cygwin, not HP-UX */ +# elif HAVE_FACL && defined GETACL /* Solaris, Cygwin, not HP-UX */ int done_setacl = 0; @@ -214,30 +214,23 @@ qset_acl (char const *name, int desc, mode_t mode) int convention; { - int count; - ace_t *entries; + enum { + alloc_init = 4000 / sizeof (ace_t), + alloc_max = MIN (INT_MAX, (size_t) -1 / sizeof (ace_t)) + }; + int alloc = alloc_init; + ace_t buf[alloc_init]; + ace_t *entries = buf; + ace_t *malloced = NULL; for (;;) { - if (desc != -1) - count = facl (desc, ACE_GETACLCNT, 0, NULL); - else - count = acl (name, ACE_GETACLCNT, 0, NULL); + int count = (desc != -1 + ? facl (desc, ACE_GETACL, alloc, entries) + : acl (name, ACE_GETACL, alloc, entries)); if (count <= 0) - { - convention = -1; - break; - } - entries = (ace_t *) malloc (count * sizeof (ace_t)); - if (entries == NULL) - { - errno = ENOMEM; - return -1; - } - if ((desc != -1 - ? facl (desc, ACE_GETACL, count, entries) - : acl (name, ACE_GETACL, count, entries)) - == count) + convention = -1; + else { int i; @@ -248,12 +241,18 @@ qset_acl (char const *name, int desc, mode_t mode) convention = 1; break; } - free (entries); - break; } - /* Huh? The number of ACL entries changed since the last call. - Repeat. */ - free (entries); + free (malloced); + if (count < alloc || convention != 0) + break; + alloc = alloc <= alloc_max / 2 ? 2 * alloc : alloc_max; + entries = malloced = + count == alloc_max ? NULL : malloc (alloc * sizeof *entries); + if (! malloced) + { + errno = ENOMEM; + return -1; + } } }
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 1 Feb 2012 10:21:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 05:21:41 2012 Received: from localhost ([127.0.0.1]:48215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RsXJt-00019E-8r for submit <at> debbugs.gnu.org; Wed, 01 Feb 2012 05:21:41 -0500 Received: from mo-p00-ob.rzone.de ([81.169.146.161]:22600) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <bruno@HIDDEN>) id 1RsXJp-000193-8S for 10639 <at> debbugs.gnu.org; Wed, 01 Feb 2012 05:21:39 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1328091674; l=2946; s=domk; d=haible.de; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH; bh=hf2Gru1wRhTv4bu+58lwhakpwM0=; b=fbcBpk/ffWajqOxDDkk8UK6MGuJ9k8XyPi02PIcVUQ9AwYmK4+uUEBFyh4vDwiQGJz0 xhQYZwT4B2Jqa76s7LDASzV0TGiWpjEcnVTCV7c9UfHCtqXBoyZoB1YtxKpFqYGJ2Y6Gp sBmPYruTm3TLnSFx3N/RHbAV13TIjYHP+X4= X-RZG-AUTH: :Ln4Re0+Ic/6oZXR1YgKryK8brksyK8dozXDwHXjf9hj/zDNRbvY44zMkpA== X-RZG-CLASS-ID: mo00 Received: from linuix.haible.de (dslb-088-068-070-142.pools.arcor-ip.net [88.68.70.142]) by smtp.strato.de (jimi mo63) (RZmta 27.6 DYNA|AUTH) with ESMTPA id 202ee1o11AAGFN ; Wed, 1 Feb 2012 11:21:07 +0100 (MET) From: Bruno Haible <bruno@HIDDEN> To: bug-gnulib@HIDDEN Bcc: bruno@HIDDEN Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Date: Wed, 01 Feb 2012 11:22:23 +0100 Message-ID: <1554628.7qhAqzUlk2@linuix> User-Agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) In-Reply-To: <4F290262.3050702@HIDDEN> References: <201201291720.q0THKvRW010730@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AEA3B@HIDDEN> <4F290262.3050702@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart3513891.NfrXPHXDlO" Content-Transfer-Encoding: 7Bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: "JONES, BILL" <rj7252@HIDDEN>, Paul Eggert <eggert@HIDDEN>, "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) --nextPart3513891.NfrXPHXDlO Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Paul Eggert wrote: > Thanks, can you please try the attached patch? I find it overkill to change the code for HP-UX and NonStop systems when the report is about Solaris. Also I think the structure of the loop is not the problem; it is the code's reaction to acl("x", ACE_GETACL, 4, 0x3432A16E0) Err#-1 Please, can you also try this patch? --nextPart3513891.NfrXPHXDlO Content-Disposition: attachment; filename="solaris-failing-acl-call.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="solaris-failing-acl-call.diff" 2012-02-01 Bruno Haible <bruno@HIDDEN> * lib/file-has-acl.c (file_has_acl) [Solaris]: Treat a failing acl()/facl() call for ACE_GETACL like a failing call for ACE_GETACLCNT. * lib/set-mode-acl.c (qset_acl) [Solaris]: Likewise. * lib/copy-acl.c (qcopy_acl)[Solaris]: Likewise. --- lib/copy-acl.c.orig Wed Feb 1 11:15:51 2012 +++ lib/copy-acl.c Wed Feb 1 11:10:55 2012 @@ -235,10 +235,22 @@ return -2; } - if ((source_desc != -1 - ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) - : acl (src_name, ACE_GETACL, ace_count, ace_entries)) - == ace_count) + ret = (source_desc != -1 + ? facl (source_desc, ACE_GETACL, ace_count, ace_entries) + : acl (src_name, ACE_GETACL, ace_count, ace_entries); + if (ret < 0) + { + free (ace_entries); + if (errno == ENOSYS || errno == EINVAL) + { + ace_count = 0; + ace_entries = NULL; + break; + } + else + return -2; + } + if (ret == ace_count) break; /* Huh? The number of ACL entries changed since the last call. Repeat. */ --- lib/file-has-acl.c.orig Wed Feb 1 11:15:51 2012 +++ lib/file-has-acl.c Wed Feb 1 11:13:17 2012 @@ -588,6 +588,8 @@ for (;;) { + int ret; + count = acl (name, ACE_GETACLCNT, 0, NULL); if (count < 0) @@ -618,7 +620,16 @@ errno = ENOMEM; return -1; } - if (acl (name, ACE_GETACL, count, entries) == count) + ret = acl (name, ACE_GETACL, count, entries); + if (ret < 0) + { + free (entries); + if (errno == ENOSYS || errno == EINVAL) + break; + else + return -1; + } + if (ret == count) { if (acl_ace_nontrivial (count, entries)) { --- lib/set-mode-acl.c.orig Wed Feb 1 11:15:51 2012 +++ lib/set-mode-acl.c Wed Feb 1 11:15:26 2012 @@ -219,6 +219,8 @@ for (;;) { + int ret; + if (desc != -1) count = facl (desc, ACE_GETACLCNT, 0, NULL); else @@ -234,10 +236,16 @@ errno = ENOMEM; return -1; } - if ((desc != -1 - ? facl (desc, ACE_GETACL, count, entries) - : acl (name, ACE_GETACL, count, entries)) - == count) + ret = (desc != -1 + ? facl (desc, ACE_GETACL, count, entries) + : acl (name, ACE_GETACL, count, entries)); + if (ret < 0) + { + free (entries); + convention = -1; + break; + } + if (ret == count) { int i; --nextPart3513891.NfrXPHXDlO--
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 1 Feb 2012 09:14:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 04:14:42 2012 Received: from localhost ([127.0.0.1]:48183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RsWH3-00084v-OD for submit <at> debbugs.gnu.org; Wed, 01 Feb 2012 04:14:42 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:41151) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eggert@HIDDEN>) id 1RsWGz-00084e-FP for 10639 <at> debbugs.gnu.org; Wed, 01 Feb 2012 04:14:40 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E1EA539E800F; Wed, 1 Feb 2012 01:14:10 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lsd8Qtj8VVMg; Wed, 1 Feb 2012 01:14:09 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 87DFC39E800C; Wed, 1 Feb 2012 01:14:09 -0800 (PST) Message-ID: <4F290262.3050702@HIDDEN> Date: Wed, 01 Feb 2012 01:14:10 -0800 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: "JONES, BILL" <rj7252@HIDDEN> Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit References: <201201291720.q0THKvRW010730@HIDDEN>, <4F2622D3.8060207@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AAB91@HIDDEN>, <4F271AF6.9060500@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AEA3B@HIDDEN> In-Reply-To: <2B72DD7087E4A24A895A948352DA2F92020AEA3B@HIDDEN> Content-Type: multipart/mixed; boundary="------------070905060105010307040200" X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: bug-gnulib <bug-gnulib@HIDDEN>, "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) This is a multi-part message in MIME format. --------------070905060105010307040200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 01/30/2012 07:01 PM, JONES, BILL wrote: > those are vxfs. Thanks, can you please try the attached patch? You can apply it by running the shell commands: cd lib patch < vxfs-patch.txt I'll CC: this to bug-gnulib as it appears to be a Gnulib bug. Thanks. --------------070905060105010307040200 Content-Type: text/plain; name="vxfs-patch.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="vxfs-patch.txt" YWNsOiBmaXggaW5maW5pdGUgbG9vcCBvbiBTb2xhcmlzIDEwICsgdnhmcwpQcm9ibGVtIHJl cG9ydGVkIGJ5IEJpbGwgSm9uZXMgaW4KPGh0dHA6Ly9kZWJidWdzLmdudS5vcmcvY2dpL2J1 Z3JlcG9ydC5jZ2k/YnVnPTEwNjM5Pi4KKiBsaWIvYWNsLWludGVybmFsLmg6IEluY2x1ZGUg PGxpbWl0cy5oPi4KKE1JTik6IE5ldyBtYWNyby4KKiBsaWIvY29weS1hY2wuYyAocWNvcHlf YWNsKTogRG9uJ3Qgb2JqZWN0IGlmIHdlIGdldCBmZXdlciBBQ0wKZW50cmllcyB0aGFuIHdl IG9yaWdpbmFsbHkgY291bnRlZDsgcGVyaGFwcyBzb21lIHdlcmUgcmVtb3ZlZAphcyB3ZSB3 ZXJlIHJ1bm5pbmcsIG9yIHBlcmhhcHMgd2UgY2FuIGNvdW50IGJ1dCBub3QgZ2V0LgpDaGVj ayBmb3Igc2l6ZS1jYWxjdWxhdGlvbiBvdmVyZmxvdy4KQXZvaWQgbmVlZCBmb3IgZHluYW1p YyBhbGxvY2F0aW9uIGlmIHBvc3NpYmxlLgoqIGxpYi9maWxlLWhhcy1hY2wuYyAoZmlsZV9o YXNfYWNsKTogTGlrZXdpc2UuCiogbGliL3NldC1tb2RlLWFjbC5jIChxc2V0X2FjbCk6IExp a2V3aXNlLgpkaWZmIC0tZ2l0IGEvbGliL2FjbC1pbnRlcm5hbC5oIGIvbGliL2FjbC1pbnRl cm5hbC5oCmluZGV4IDg4ZTVlNDUuLjY0NzAxYjIgMTAwNjQ0Ci0tLSBhL2xpYi9hY2wtaW50 ZXJuYWwuaAorKysgYi9saWIvYWNsLWludGVybmFsLmgKQEAgLTU1LDYgKzU1LDEyIEBAIGV4 dGVybiBpbnQgYWNsc29ydCAoaW50LCBpbnQsIHN0cnVjdCBhY2wgKik7CiAjIGRlZmluZSBF Tk9UU1VQICgtMSkKICNlbmRpZgoKKyNpbmNsdWRlIDxsaW1pdHMuaD4KKworI2lmbmRlZiBN SU4KKyMgZGVmaW5lIE1JTihhLGIpICgoYSkgPCAoYikgPyAoYSkgOiAoYikpCisjZW5kaWYK KwogI2lmbmRlZiBIQVZFX0ZDSE1PRAogIyBkZWZpbmUgSEFWRV9GQ0hNT0QgZmFsc2UKICMg ZGVmaW5lIGZjaG1vZChmZCwgbW9kZSkgKC0xKQpkaWZmIC0tZ2l0IGEvbGliL2NvcHktYWNs LmMgYi9saWIvY29weS1hY2wuYwppbmRleCA5YjlmMDMzLi5lOWY0ODI2IDEwMDY0NAotLS0g YS9saWIvY29weS1hY2wuYworKysgYi9saWIvY29weS1hY2wuYwpAQCAtMTgxLDEwICsxODEs MTAgQEAgcWNvcHlfYWNsIChjb25zdCBjaGFyICpzcmNfbmFtZSwgaW50IHNvdXJjZV9kZXNj LCBjb25zdCBjaGFyICpkc3RfbmFtZSwKICAgICAgb2YgVW5peHdhcmUuICBUaGUgYWNsKCkg Y2FsbCByZXR1cm5zIHRoZSBhY2Nlc3MgYW5kIGRlZmF1bHQgQUNMIGJvdGgKICAgICAgYXQg b25jZS4gICovCiAjIGlmZGVmIEFDRV9HRVRBQ0wKLSAgaW50IGFjZV9jb3VudDsKKyAgaW50 IGFjZV9jb3VudDAsIGFjZV9jb3VudDsKICAgYWNlX3QgKmFjZV9lbnRyaWVzOwogIyBlbmRp ZgotICBpbnQgY291bnQ7CisgIGludCBjb3VudDAsIGNvdW50OwogICBhY2xlbnRfdCAqZW50 cmllczsKICAgaW50IGRpZF9jaG1vZDsKICAgaW50IHNhdmVkX2Vycm5vOwpAQCAtMjI4LDE5 ICsyMjgsMjEgQEAgcWNvcHlfYWNsIChjb25zdCBjaGFyICpzcmNfbmFtZSwgaW50IHNvdXJj ZV9kZXNjLCBjb25zdCBjaGFyICpkc3RfbmFtZSwKICAgICAgICAgICBicmVhazsKICAgICAg ICAgfQoKLSAgICAgIGFjZV9lbnRyaWVzID0gKGFjZV90ICopIG1hbGxvYyAoYWNlX2NvdW50 ICogc2l6ZW9mIChhY2VfdCkpOwotICAgICAgaWYgKGFjZV9lbnRyaWVzID09IE5VTEwpCisg ICAgICBpZiAoISAoYWNlX2NvdW50IDwgTUlOIChJTlRfTUFYLCAoc2l6ZV90KSAtMSAvIHNp emVvZiAoYWNlX3QpKQorICAgICAgICAgICAgICYmIChhY2VfZW50cmllcworICAgICAgICAg ICAgICAgICA9IChhY2VfdCAqKSBtYWxsb2MgKChhY2VfY291bnQgKyAxKSAqIHNpemVvZiAo YWNlX3QpKSkpKQogICAgICAgICB7CiAgICAgICAgICAgZXJybm8gPSBFTk9NRU07CiAgICAg ICAgICAgcmV0dXJuIC0yOwogICAgICAgICB9CgotICAgICAgaWYgKChzb3VyY2VfZGVzYyAh PSAtMQotICAgICAgICAgICA/IGZhY2wgKHNvdXJjZV9kZXNjLCBBQ0VfR0VUQUNMLCBhY2Vf Y291bnQsIGFjZV9lbnRyaWVzKQotICAgICAgICAgICA6IGFjbCAoc3JjX25hbWUsIEFDRV9H RVRBQ0wsIGFjZV9jb3VudCwgYWNlX2VudHJpZXMpKQotICAgICAgICAgID09IGFjZV9jb3Vu dCkKKyAgICAgIGFjZV9jb3VudDAgPSBhY2VfY291bnQ7CisgICAgICBhY2VfY291bnQgPSAo c291cmNlX2Rlc2MgIT0gLTEKKyAgICAgICAgICAgICAgICAgICA/IGZhY2wgKHNvdXJjZV9k ZXNjLCBBQ0VfR0VUQUNMLCBhY2VfY291bnQgKyAxLCBhY2VfZW50cmllcykKKyAgICAgICAg ICAgICAgICAgICA6IGFjbCAoc3JjX25hbWUsIEFDRV9HRVRBQ0wsIGFjZV9jb3VudCArIDEs IGFjZV9lbnRyaWVzKSk7CisgICAgICBpZiAoYWNlX2NvdW50IDw9IGFjZV9jb3VudDApCiAg ICAgICAgIGJyZWFrOwotICAgICAgLyogSHVoPyBUaGUgbnVtYmVyIG9mIEFDTCBlbnRyaWVz IGNoYW5nZWQgc2luY2UgdGhlIGxhc3QgY2FsbC4KKyAgICAgIC8qIEh1aD8gVGhlIG51bWJl ciBvZiBBQ0wgZW50cmllcyBncmV3IHNpbmNlIHRoZSBsYXN0IGNhbGwuCiAgICAgICAgICBS ZXBlYXQuICAqLwogICAgIH0KICMgZW5kaWYKQEAgLTI2OSwxOSArMjcxLDIxIEBAIHFjb3B5 X2FjbCAoY29uc3QgY2hhciAqc3JjX25hbWUsIGludCBzb3VyY2VfZGVzYywgY29uc3QgY2hh ciAqZHN0X25hbWUsCiAgICAgICAgICAgYnJlYWs7CiAgICAgICAgIH0KCi0gICAgICBlbnRy aWVzID0gKGFjbGVudF90ICopIG1hbGxvYyAoY291bnQgKiBzaXplb2YgKGFjbGVudF90KSk7 Ci0gICAgICBpZiAoZW50cmllcyA9PSBOVUxMKQorICAgICAgaWYgKCEgKGNvdW50IDwgTUlO IChJTlRfTUFYLCAoc2l6ZV90KSAtMSAvIHNpemVvZiAoYWNsZW50X3QpKQorICAgICAgICAg ICAgICYmIChlbnRyaWVzCisgICAgICAgICAgICAgICAgID0gKGFjbGVudF90ICopIG1hbGxv YyAoKGNvdW50ICsgMSkgKiBzaXplb2YgKGFjbGVudF90KSkpKSkKICAgICAgICAgewogICAg ICAgICAgIGVycm5vID0gRU5PTUVNOwogICAgICAgICAgIHJldHVybiAtMjsKICAgICAgICAg fQoKLSAgICAgIGlmICgoc291cmNlX2Rlc2MgIT0gLTEKLSAgICAgICAgICAgPyBmYWNsIChz b3VyY2VfZGVzYywgR0VUQUNMLCBjb3VudCwgZW50cmllcykKLSAgICAgICAgICAgOiBhY2wg KHNyY19uYW1lLCBHRVRBQ0wsIGNvdW50LCBlbnRyaWVzKSkKLSAgICAgICAgICA9PSBjb3Vu dCkKKyAgICAgIGNvdW50MCA9IGNvdW50OworICAgICAgY291bnQgPSAoc291cmNlX2Rlc2Mg IT0gLTEKKyAgICAgICAgICAgICAgID8gZmFjbCAoc291cmNlX2Rlc2MsIEdFVEFDTCwgY291 bnQgKyAxLCBlbnRyaWVzKQorICAgICAgICAgICAgICAgOiBhY2wgKHNyY19uYW1lLCBHRVRB Q0wsIGNvdW50ICsgMSwgZW50cmllcykpOworICAgICAgaWYgKGNvdW50IDw9IGNvdW50MCkK ICAgICAgICAgYnJlYWs7Ci0gICAgICAvKiBIdWg/IFRoZSBudW1iZXIgb2YgQUNMIGVudHJp ZXMgY2hhbmdlZCBzaW5jZSB0aGUgbGFzdCBjYWxsLgorICAgICAgLyogSHVoPyBUaGUgbnVt YmVyIG9mIEFDTCBlbnRyaWVzIGdyZXcgc2luY2UgdGhlIGxhc3QgY2FsbC4KICAgICAgICAg IFJlcGVhdC4gICovCiAgICAgfQoKQEAgLTM2Niw3NyArMzcwLDQ0IEBAIHFjb3B5X2FjbCAo Y29uc3QgY2hhciAqc3JjX25hbWUsIGludCBzb3VyY2VfZGVzYywgY29uc3QgY2hhciAqZHN0 X25hbWUsCiAjZWxpZiBVU0VfQUNMICYmIEhBVkVfR0VUQUNMIC8qIEhQLVVYICovCgogICBp bnQgY291bnQ7Ci0gIHN0cnVjdCBhY2xfZW50cnkgZW50cmllc1tOQUNMRU5UUklFU107Cisg IHN0cnVjdCBhY2xfZW50cnkgZW50cmllc1tOQUNMRU5UUklFUyArIDFdOwogIyBpZiBIQVZF X0FDTFZfSAogICBpbnQgYWNsdl9jb3VudDsKLSAgc3RydWN0IGFjbCBhY2x2X2VudHJpZXNb TkFDTFZFTlRSSUVTXTsKKyAgc3RydWN0IGFjbCBhY2x2X2VudHJpZXNbTkFDTFZFTlRSSUVT ICsgMV07CiAjIGVuZGlmCiAgIGludCBkaWRfY2htb2Q7CiAgIGludCBzYXZlZF9lcnJubzsK ICAgaW50IHJldDsKCi0gIGZvciAoOzspCi0gICAgewotICAgICAgY291bnQgPSAoc291cmNl X2Rlc2MgIT0gLTEKLSAgICAgICAgICAgICAgID8gZmdldGFjbCAoc291cmNlX2Rlc2MsIDAs IE5VTEwpCi0gICAgICAgICAgICAgICA6IGdldGFjbCAoc3JjX25hbWUsIDAsIE5VTEwpKTsK LQotICAgICAgaWYgKGNvdW50IDwgMCkKLSAgICAgICAgewotICAgICAgICAgIGlmIChlcnJu byA9PSBFTk9TWVMgfHwgZXJybm8gPT0gRU9QTk9UU1VQUCB8fCBlcnJubyA9PSBFTk9UU1VQ KQotICAgICAgICAgICAgewotICAgICAgICAgICAgICBjb3VudCA9IDA7Ci0gICAgICAgICAg ICAgIGJyZWFrOwotICAgICAgICAgICAgfQotICAgICAgICAgIGVsc2UKLSAgICAgICAgICAg IHJldHVybiAtMjsKLSAgICAgICAgfQorICBjb3VudCA9IChzb3VyY2VfZGVzYyAhPSAtMQor ICAgICAgICAgICA/IGZnZXRhY2wgKHNvdXJjZV9kZXNjLCBOQUNMRU5UUklFUyArIDEsIGVu dHJpZXMpCisgICAgICAgICAgIDogZ2V0YWNsIChzcmNfbmFtZSwgTkFDTEVOVFJJRVMgKyAx LCBlbnRyaWVzKSk7CgotICAgICAgaWYgKGNvdW50ID09IDApCi0gICAgICAgIGJyZWFrOwot Ci0gICAgICBpZiAoY291bnQgPiBOQUNMRU5UUklFUykKLSAgICAgICAgLyogSWYgTkFDTEVO VFJJRVMgY2Fubm90IGJlIHRydXN0ZWQsIHVzZSBkeW5hbWljIG1lbW9yeSBhbGxvY2F0aW9u LiAgKi8KLSAgICAgICAgYWJvcnQgKCk7Ci0KLSAgICAgIGlmICgoc291cmNlX2Rlc2MgIT0g LTEKLSAgICAgICAgICAgPyBmZ2V0YWNsIChzb3VyY2VfZGVzYywgY291bnQsIGVudHJpZXMp Ci0gICAgICAgICAgIDogZ2V0YWNsIChzcmNfbmFtZSwgY291bnQsIGVudHJpZXMpKQotICAg ICAgICAgID09IGNvdW50KQotICAgICAgICBicmVhazsKLSAgICAgIC8qIEh1aD8gVGhlIG51 bWJlciBvZiBBQ0wgZW50cmllcyBjaGFuZ2VkIHNpbmNlIHRoZSBsYXN0IGNhbGwuCi0gICAg ICAgICBSZXBlYXQuICAqLworICBpZiAoY291bnQgPCAwKQorICAgIHsKKyAgICAgIGlmICgh IChlcnJubyA9PSBFTk9TWVMgfHwgZXJybm8gPT0gRU9QTk9UU1VQUCB8fCBlcnJubyA9PSBF Tk9UU1VQKSkKKyAgICAgICAgcmV0dXJuIC0yOworICAgICAgY291bnQgPSAwOwogICAgIH0K Ci0jIGlmIEhBVkVfQUNMVl9ICi0gIGZvciAoOzspCi0gICAgewotICAgICAgYWNsdl9jb3Vu dCA9IGFjbCAoKGNoYXIgKikgc3JjX25hbWUsIEFDTF9DTlQsIE5BQ0xWRU5UUklFUywgYWNs dl9lbnRyaWVzKTsKKyAgaWYgKE5BQ0xFTlRSSUVTIDwgY291bnQpCisgICAgLyogSWYgTkFD TEVOVFJJRVMgY2Fubm90IGJlIHRydXN0ZWQsIHVzZSBkeW5hbWljIG1lbW9yeSBhbGxvY2F0 aW9uLiAgKi8KKyAgICBhYm9ydCAoKTsKCi0gICAgICBpZiAoYWNsdl9jb3VudCA8IDApCi0g ICAgICAgIHsKLSAgICAgICAgICBpZiAoZXJybm8gPT0gRU5PU1lTIHx8IGVycm5vID09IEVP UE5PVFNVUFAgfHwgZXJybm8gPT0gRUlOVkFMKQotICAgICAgICAgICAgewotICAgICAgICAg ICAgICBjb3VudCA9IDA7Ci0gICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAgfQot ICAgICAgICAgIGVsc2UKLSAgICAgICAgICAgIHJldHVybiAtMjsKLSAgICAgICAgfQorIyBp ZiBIQVZFX0FDTFZfSAorICBhY2x2X2NvdW50ID0gYWNsICgoY2hhciAqKSBzcmNfbmFtZSwg QUNMX0dFVCwgTkFDTFZFTlRSSUVTICsgMSwgYWNsdl9lbnRyaWVzKTsKCi0gICAgICBpZiAo YWNsdl9jb3VudCA9PSAwKQotICAgICAgICBicmVhazsKKyAgaWYgKGFjbHZfY291bnQgPCAw KQorICAgIHsKKyAgICAgIGlmICghIChlcnJubyA9PSBFTk9TWVMgfHwgZXJybm8gPT0gRU9Q Tk9UU1VQUCB8fCBlcnJubyA9PSBFSU5WQUwpKQorICAgICAgICByZXR1cm4gLTI7CisgICAg ICBhY2x2X2NvdW50ID0gMDsKKyAgICB9CgotICAgICAgaWYgKGFjbHZfY291bnQgPiBOQUNM VkVOVFJJRVMpCi0gICAgICAgIC8qIElmIE5BQ0xWRU5UUklFUyBjYW5ub3QgYmUgdHJ1c3Rl ZCwgdXNlIGR5bmFtaWMgbWVtb3J5IGFsbG9jYXRpb24uICAqLwotICAgICAgICBhYm9ydCAo KTsKKyAgaWYgKE5BQ0xWRU5UUklFUyA8IGFjbHZfY291bnQpCisgICAgLyogSWYgTkFDTFZF TlRSSUVTIGNhbm5vdCBiZSB0cnVzdGVkLCB1c2UgZHluYW1pYyBtZW1vcnkgYWxsb2NhdGlv bi4gICovCisgICAgYWJvcnQgKCk7CgotICAgICAgaWYgKGFjbCAoKGNoYXIgKikgc3JjX25h bWUsIEFDTF9HRVQsIGFjbHZfY291bnQsIGFjbHZfZW50cmllcykKLSAgICAgICAgICA9PSBh Y2x2X2NvdW50KQotICAgICAgICBicmVhazsKLSAgICAgIC8qIEh1aD8gVGhlIG51bWJlciBv ZiBBQ0wgZW50cmllcyBjaGFuZ2VkIHNpbmNlIHRoZSBsYXN0IGNhbGwuCi0gICAgICAgICBS ZXBlYXQuICAqLwotICAgIH0KICMgZW5kaWYKCiAgIGlmIChjb3VudCA9PSAwKQpAQCAtNTQ2 LDM3ICs1MTcsMTYgQEAgcWNvcHlfYWNsIChjb25zdCBjaGFyICpzcmNfbmFtZSwgaW50IHNv dXJjZV9kZXNjLCBjb25zdCBjaGFyICpkc3RfbmFtZSwKCiAjZWxpZiBVU0VfQUNMICYmIEhB VkVfQUNMU09SVCAvKiBOb25TdG9wIEtlcm5lbCAqLwoKLSAgaW50IGNvdW50OwotICBzdHJ1 Y3QgYWNsIGVudHJpZXNbTkFDTEVOVFJJRVNdOworICBzdHJ1Y3QgYWNsIGVudHJpZXNbTkFD TEVOVFJJRVMgKyAxXTsKKyAgaW50IGNvdW50ID0gYWNsICgoY2hhciAqKSBzcmNfbmFtZSwg QUNMX0dFVCwgTkFDTEVOVFJJRVMgKyAxLCBlbnRyaWVzKTsKICAgaW50IHJldDsKCi0gIGZv ciAoOzspCi0gICAgewotICAgICAgY291bnQgPSBhY2wgKChjaGFyICopIHNyY19uYW1lLCBB Q0xfQ05ULCBOQUNMRU5UUklFUywgTlVMTCk7Ci0KLSAgICAgIGlmIChjb3VudCA8IDApCi0g ICAgICAgIHsKLSAgICAgICAgICBpZiAoMCkKLSAgICAgICAgICAgIHsKLSAgICAgICAgICAg ICAgY291bnQgPSAwOwotICAgICAgICAgICAgICBicmVhazsKLSAgICAgICAgICAgIH0KLSAg ICAgICAgICBlbHNlCi0gICAgICAgICAgICByZXR1cm4gLTI7Ci0gICAgICAgIH0KLQotICAg ICAgaWYgKGNvdW50ID09IDApCi0gICAgICAgIGJyZWFrOwotCi0gICAgICBpZiAoY291bnQg PiBOQUNMRU5UUklFUykKLSAgICAgICAgLyogSWYgTkFDTEVOVFJJRVMgY2Fubm90IGJlIHRy dXN0ZWQsIHVzZSBkeW5hbWljIG1lbW9yeSBhbGxvY2F0aW9uLiAgKi8KLSAgICAgICAgYWJv cnQgKCk7CisgIGlmIChjb3VudCA8IDApCisgICAgcmV0dXJuIC0yOwoKLSAgICAgIGlmIChh Y2wgKChjaGFyICopIHNyY19uYW1lLCBBQ0xfR0VULCBjb3VudCwgZW50cmllcykgPT0gY291 bnQpCi0gICAgICAgIGJyZWFrOwotICAgICAgLyogSHVoPyBUaGUgbnVtYmVyIG9mIEFDTCBl bnRyaWVzIGNoYW5nZWQgc2luY2UgdGhlIGxhc3QgY2FsbC4KLSAgICAgICAgIFJlcGVhdC4g ICovCi0gICAgfQorICBpZiAoY291bnQgPiBOQUNMRU5UUklFUykKKyAgICAvKiBJZiBOQUNM RU5UUklFUyBjYW5ub3QgYmUgdHJ1c3RlZCwgdXNlIGR5bmFtaWMgbWVtb3J5IGFsbG9jYXRp b24uICAqLworICAgIGFib3J0ICgpOwoKICAgaWYgKGNvdW50ID09IDApCiAgICAgcmV0dXJu IHFzZXRfYWNsIChkc3RfbmFtZSwgZGVzdF9kZXNjLCBtb2RlKTsKZGlmZiAtLWdpdCBhL2xp Yi9maWxlLWhhcy1hY2wuYyBiL2xpYi9maWxlLWhhcy1hY2wuYwppbmRleCBiN2MxNDg0Li5l ZDE4N2QyIDEwMDY0NAotLS0gYS9saWIvZmlsZS1oYXMtYWNsLmMKKysrIGIvbGliL2ZpbGUt aGFzLWFjbC5jCkBAIC01MzIsMTA3ICs1MzIsMzQgQEAgZmlsZV9oYXNfYWNsIChjaGFyIGNv bnN0ICpuYW1lLCBzdHJ1Y3Qgc3RhdCBjb25zdCAqc2IpCiAgICAgICAvKiBTb2xhcmlzIDIu NSB0aHJvdWdoIFNvbGFyaXMgMTAsIEN5Z3dpbiwgYW5kIGNvbnRlbXBvcmFuZW91cyB2ZXJz aW9ucwogICAgICAgICAgb2YgVW5peHdhcmUuICBUaGUgYWNsKCkgY2FsbCByZXR1cm5zIHRo ZSBhY2Nlc3MgYW5kIGRlZmF1bHQgQUNMIGJvdGgKICAgICAgICAgIGF0IG9uY2UuICAqLwot ICAgICAgaW50IGNvdW50OwotICAgICAgewotICAgICAgICBhY2xlbnRfdCAqZW50cmllczsK LQotICAgICAgICBmb3IgKDs7KQotICAgICAgICAgIHsKLSAgICAgICAgICAgIGNvdW50ID0g YWNsIChuYW1lLCBHRVRBQ0xDTlQsIDAsIE5VTEwpOwotCi0gICAgICAgICAgICBpZiAoY291 bnQgPCAwKQotICAgICAgICAgICAgICB7Ci0gICAgICAgICAgICAgICAgaWYgKGVycm5vID09 IEVOT1NZUyB8fCBlcnJubyA9PSBFTk9UU1VQKQotICAgICAgICAgICAgICAgICAgYnJlYWs7 Ci0gICAgICAgICAgICAgICAgZWxzZQotICAgICAgICAgICAgICAgICAgcmV0dXJuIC0xOwot ICAgICAgICAgICAgICB9Ci0KLSAgICAgICAgICAgIGlmIChjb3VudCA9PSAwKQotICAgICAg ICAgICAgICBicmVhazsKLQotICAgICAgICAgICAgLyogRG9uJ3QgdXNlIE1JTl9BQ0xfRU5U UklFUzogIEl0J3Mgc2V0IHRvIDQgb24gQ3lnd2luLCBidXQgQ3lnd2luCi0gICAgICAgICAg ICAgICByZXR1cm5zIG9ubHkgMyBlbnRyaWVzIGZvciBmaWxlcyB3aXRoIG5vIEFDTC4gIEJ1 dCB0aGlzIGlzIHNhZmU6Ci0gICAgICAgICAgICAgICBJZiB0aGVyZSBhcmUgbW9yZSB0aGFu IDQgZW50cmllcywgdGhlcmUgY2Fubm90IGJlIG9ubHkgdGhlCi0gICAgICAgICAgICAgICAi dXNlcjo6IiwgImdyb3VwOjoiLCAib3RoZXI6IiwgYW5kICJtYXNrOiIgZW50cmllcy4gICov Ci0gICAgICAgICAgICBpZiAoY291bnQgPiA0KQotICAgICAgICAgICAgICByZXR1cm4gMTsK LQotICAgICAgICAgICAgZW50cmllcyA9IChhY2xlbnRfdCAqKSBtYWxsb2MgKGNvdW50ICog c2l6ZW9mIChhY2xlbnRfdCkpOwotICAgICAgICAgICAgaWYgKGVudHJpZXMgPT0gTlVMTCkK LSAgICAgICAgICAgICAgewotICAgICAgICAgICAgICAgIGVycm5vID0gRU5PTUVNOwotICAg ICAgICAgICAgICAgIHJldHVybiAtMTsKLSAgICAgICAgICAgICAgfQotICAgICAgICAgICAg aWYgKGFjbCAobmFtZSwgR0VUQUNMLCBjb3VudCwgZW50cmllcykgPT0gY291bnQpCi0gICAg ICAgICAgICAgIHsKLSAgICAgICAgICAgICAgICBpZiAoYWNsX25vbnRyaXZpYWwgKGNvdW50 LCBlbnRyaWVzKSkKLSAgICAgICAgICAgICAgICAgIHsKLSAgICAgICAgICAgICAgICAgICAg ZnJlZSAoZW50cmllcyk7Ci0gICAgICAgICAgICAgICAgICAgIHJldHVybiAxOwotICAgICAg ICAgICAgICAgICAgfQotICAgICAgICAgICAgICAgIGZyZWUgKGVudHJpZXMpOwotICAgICAg ICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAgICB9Ci0gICAgICAgICAgICAvKiBIdWg/ IFRoZSBudW1iZXIgb2YgQUNMIGVudHJpZXMgY2hhbmdlZCBzaW5jZSB0aGUgbGFzdCBjYWxs LgotICAgICAgICAgICAgICAgUmVwZWF0LiAgKi8KLSAgICAgICAgICAgIGZyZWUgKGVudHJp ZXMpOwotICAgICAgICAgIH0KLSAgICAgIH0KKyAgICAgIGFjbGVudF90IGVudHJpZXNbNV07 CisgICAgICBpbnQgY291bnQgPSBhY2wgKG5hbWUsIEdFVEFDTCwgNSwgZW50cmllcyk7Cisg ICAgICBpZiAoMCA8PSBjb3VudCkKKyAgICAgICAgcmV0dXJuIGFjbF9ub250cml2aWFsIChj b3VudCwgZW50cmllcyk7CisgICAgICBpZiAoISAoZXJybm8gPT0gRU5PU1lTIHx8IGVycm5v ID09IEVOT1RTVVApKQorICAgICAgICByZXR1cm4gLTE7CgogIyAgIGlmZGVmIEFDRV9HRVRB Q0wKKwogICAgICAgLyogU29sYXJpcyBhbHNvIGhhcyBhIGRpZmZlcmVudCB2YXJpYW50IG9m IEFDTHMsIHVzZWQgaW4gWkZTIGFuZCBORlN2NAotICAgICAgICAgZmlsZSBzeXN0ZW1zICh3 aGVyZWFzIHRoZSBvdGhlciBvbmVzIGFyZSB1c2VkIGluIFVGUyBmaWxlIHN5c3RlbXMpLiAg Ki8KLSAgICAgIHsKLSAgICAgICAgYWNlX3QgKmVudHJpZXM7Ci0KLSAgICAgICAgZm9yICg7 OykKLSAgICAgICAgICB7Ci0gICAgICAgICAgICBjb3VudCA9IGFjbCAobmFtZSwgQUNFX0dF VEFDTENOVCwgMCwgTlVMTCk7Ci0KLSAgICAgICAgICAgIGlmIChjb3VudCA8IDApCi0gICAg ICAgICAgICAgIHsKLSAgICAgICAgICAgICAgICBpZiAoZXJybm8gPT0gRU5PU1lTIHx8IGVy cm5vID09IEVJTlZBTCkKLSAgICAgICAgICAgICAgICAgIGJyZWFrOwotICAgICAgICAgICAg ICAgIGVsc2UKLSAgICAgICAgICAgICAgICAgIHJldHVybiAtMTsKLSAgICAgICAgICAgICAg fQotCi0gICAgICAgICAgICBpZiAoY291bnQgPT0gMCkKLSAgICAgICAgICAgICAgYnJlYWs7 Ci0KLSAgICAgICAgICAgIC8qIEluIHRoZSBvbGQgKG9yaWdpbmFsIFNvbGFyaXMgMTApIGNv bnZlbnRpb246Ci0gICAgICAgICAgICAgICBJZiB0aGVyZSBhcmUgbW9yZSB0aGFuIDMgZW50 cmllcywgdGhlcmUgY2Fubm90IGJlIG9ubHkgdGhlCi0gICAgICAgICAgICAgICBBQ0VfT1dO RVIsIEFDRV9HUk9VUCwgQUNFX09USEVSIGVudHJpZXMuCi0gICAgICAgICAgICAgICBJbiB0 aGUgbmV3ZXIgU29sYXJpcyAxMCBhbmQgU29sYXJpcyAxMSBjb252ZW50aW9uOgotICAgICAg ICAgICAgICAgSWYgdGhlcmUgYXJlIG1vcmUgdGhhbiA2IGVudHJpZXMsIHRoZXJlIGNhbm5v dCBiZSBvbmx5IHRoZQotICAgICAgICAgICAgICAgQUNFX09XTkVSLCBBQ0VfR1JPVVAsIEFD RV9FVkVSWU9ORSBlbnRyaWVzLCBlYWNoIG9uY2Ugd2l0aAotICAgICAgICAgICAgICAgTkVX X0FDRV9BQ0NFU1NfQUxMT1dFRF9BQ0VfVFlQRSBhbmQgb25jZSB3aXRoCi0gICAgICAgICAg ICAgICBORVdfQUNFX0FDQ0VTU19ERU5JRURfQUNFX1RZUEUuICAqLwotICAgICAgICAgICAg aWYgKGNvdW50ID4gNikKLSAgICAgICAgICAgICAgcmV0dXJuIDE7Ci0KLSAgICAgICAgICAg IGVudHJpZXMgPSAoYWNlX3QgKikgbWFsbG9jIChjb3VudCAqIHNpemVvZiAoYWNlX3QpKTsK LSAgICAgICAgICAgIGlmIChlbnRyaWVzID09IE5VTEwpCi0gICAgICAgICAgICAgIHsKLSAg ICAgICAgICAgICAgICBlcnJubyA9IEVOT01FTTsKLSAgICAgICAgICAgICAgICByZXR1cm4g LTE7Ci0gICAgICAgICAgICAgIH0KLSAgICAgICAgICAgIGlmIChhY2wgKG5hbWUsIEFDRV9H RVRBQ0wsIGNvdW50LCBlbnRyaWVzKSA9PSBjb3VudCkKLSAgICAgICAgICAgICAgewotICAg ICAgICAgICAgICAgIGlmIChhY2xfYWNlX25vbnRyaXZpYWwgKGNvdW50LCBlbnRyaWVzKSkK LSAgICAgICAgICAgICAgICAgIHsKLSAgICAgICAgICAgICAgICAgICAgZnJlZSAoZW50cmll cyk7Ci0gICAgICAgICAgICAgICAgICAgIHJldHVybiAxOwotICAgICAgICAgICAgICAgICAg fQotICAgICAgICAgICAgICAgIGZyZWUgKGVudHJpZXMpOwotICAgICAgICAgICAgICAgIGJy ZWFrOwotICAgICAgICAgICAgICB9Ci0gICAgICAgICAgICAvKiBIdWg/IFRoZSBudW1iZXIg b2YgQUNMIGVudHJpZXMgY2hhbmdlZCBzaW5jZSB0aGUgbGFzdCBjYWxsLgotICAgICAgICAg ICAgICAgUmVwZWF0LiAgKi8KLSAgICAgICAgICAgIGZyZWUgKGVudHJpZXMpOwotICAgICAg ICAgIH0KLSAgICAgIH0KKyAgICAgICAgIGZpbGUgc3lzdGVtcyAod2hlcmVhcyB0aGUgb3Ro ZXIgb25lcyBhcmUgdXNlZCBpbiBVRlMgZmlsZSBzeXN0ZW1zKS4KKworICAgICAgICAgSW4g dGhlIG9sZCAob3JpZ2luYWwgU29sYXJpcyAxMCkgY29udmVudGlvbjoKKyAgICAgICAgIElm IHRoZXJlIGFyZSBtb3JlIHRoYW4gMyBlbnRyaWVzLCB0aGVyZSBjYW5ub3QgYmUgb25seSB0 aGUKKyAgICAgICAgIEFDRV9PV05FUiwgQUNFX0dST1VQLCBBQ0VfT1RIRVIgZW50cmllcy4K KyAgICAgICAgIEluIHRoZSBuZXdlciBTb2xhcmlzIDEwIGFuZCBTb2xhcmlzIDExIGNvbnZl bnRpb246CisgICAgICAgICBJZiB0aGVyZSBhcmUgbW9yZSB0aGFuIDYgZW50cmllcywgdGhl cmUgY2Fubm90IGJlIG9ubHkgdGhlCisgICAgICAgICBBQ0VfT1dORVIsIEFDRV9HUk9VUCwg QUNFX0VWRVJZT05FIGVudHJpZXMsIGVhY2ggb25jZSB3aXRoCisgICAgICAgICBORVdfQUNF X0FDQ0VTU19BTExPV0VEX0FDRV9UWVBFIGFuZCBvbmNlIHdpdGgKKyAgICAgICAgIE5FV19B Q0VfQUNDRVNTX0RFTklFRF9BQ0VfVFlQRS4gICovCisKKyAgICAgIGFjZV90IGVudHJpZXNb N107CisgICAgICBpbnQgY291bnQgPSBhY2wgKG5hbWUsIEFDRV9HRVRBQ0wsIDcsIGVudHJp ZXMpOworICAgICAgaWYgKDAgPD0gY291bnQpCisgICAgICAgIHJldHVybiBhY2xfYWNlX25v bnRyaXZpYWwgKGNvdW50LCBlbnRyaWVzKTsKKyAgICAgIGlmICghIChlcnJubyA9PSBFTk9T WVMgfHwgZXJybm8gPT0gRUlOVkFMKSkKKyAgICAgICAgcmV0dXJuIC0xOworCiAjICAgZW5k aWYKCiAgICAgICByZXR1cm4gMDsKQEAgLTY0MCw4NyArNTY3LDQ4IEBAIGZpbGVfaGFzX2Fj bCAoY2hhciBjb25zdCAqbmFtZSwgc3RydWN0IHN0YXQgY29uc3QgKnNiKQoKICMgZWxpZiBI QVZFX0dFVEFDTCAvKiBIUC1VWCAqLwoKLSAgICAgIGZvciAoOzspCi0gICAgICAgIHsKLSAg ICAgICAgICBpbnQgY291bnQ7Ci0gICAgICAgICAgc3RydWN0IGFjbF9lbnRyeSBlbnRyaWVz W05BQ0xFTlRSSUVTXTsKLQotICAgICAgICAgIGNvdW50ID0gZ2V0YWNsIChuYW1lLCAwLCBO VUxMKTsKLQotICAgICAgICAgIGlmIChjb3VudCA8IDApCi0gICAgICAgICAgICB7Ci0gICAg ICAgICAgICAgIC8qIEVOT1NZUyBpcyBzZWVuIG9uIG5ld2VyIEhQLVVYIHZlcnNpb25zLgot ICAgICAgICAgICAgICAgICBFT1BOT1RTVVBQIGlzIHR5cGljYWxseSBzZWVuIG9uIE5GUyBt b3VudHMuCi0gICAgICAgICAgICAgICAgIEVOT1RTVVAgd2FzIHNlZW4gb24gUXVhbnR1bSBT dG9yTmV4dCBmaWxlIHN5c3RlbXMgKGN2ZnMpLiAgKi8KLSAgICAgICAgICAgICAgaWYgKGVy cm5vID09IEVOT1NZUyB8fCBlcnJubyA9PSBFT1BOT1RTVVBQIHx8IGVycm5vID09IEVOT1RT VVApCi0gICAgICAgICAgICAgICAgYnJlYWs7Ci0gICAgICAgICAgICAgIGVsc2UKLSAgICAg ICAgICAgICAgICByZXR1cm4gLTE7Ci0gICAgICAgICAgICB9Ci0KLSAgICAgICAgICBpZiAo Y291bnQgPT0gMCkKLSAgICAgICAgICAgIHJldHVybiAwOwotCi0gICAgICAgICAgaWYgKGNv dW50ID4gTkFDTEVOVFJJRVMpCi0gICAgICAgICAgICAvKiBJZiBOQUNMRU5UUklFUyBjYW5u b3QgYmUgdHJ1c3RlZCwgdXNlIGR5bmFtaWMgbWVtb3J5Ci0gICAgICAgICAgICAgICBhbGxv Y2F0aW9uLiAgKi8KLSAgICAgICAgICAgIGFib3J0ICgpOworICAgICAgc3RydWN0IGFjbF9l bnRyeSBlbnRyaWVzWzRdOworICAgICAgaW50IGNvdW50ID0gZ2V0YWNsIChuYW1lLCA0LCBl bnRyaWVzKTsKCisgICAgICBpZiAoY291bnQgPCAwKQorICAgICAgICB7CisgICAgICAgICAg LyogRU5PU1lTIGlzIHNlZW4gb24gbmV3ZXIgSFAtVVggdmVyc2lvbnMuCisgICAgICAgICAg ICAgRU9QTk9UU1VQUCBpcyB0eXBpY2FsbHkgc2VlbiBvbiBORlMgbW91bnRzLgorICAgICAg ICAgICAgIEVOT1RTVVAgd2FzIHNlZW4gb24gUXVhbnR1bSBTdG9yTmV4dCBmaWxlIHN5c3Rl bXMgKGN2ZnMpLiAgKi8KKyAgICAgICAgICBpZiAoISAoZXJybm8gPT0gRU5PU1lTIHx8IGVy cm5vID09IEVPUE5PVFNVUFAgfHwgZXJybm8gPT0gRU5PVFNVUCkpCisgICAgICAgICAgICBy ZXR1cm4gLTE7CisgICAgICAgIH0KKyAgICAgIGVsc2UgaWYgKGNvdW50ID09IDApCisgICAg ICAgIHJldHVybiAwOworICAgICAgZWxpZiAoY291bnQgPiAzKQorICAgICAgICB7CiAgICAg ICAgICAgLyogSWYgdGhlcmUgYXJlIG1vcmUgdGhhbiAzIGVudHJpZXMsIHRoZXJlIGNhbm5v dCBiZSBvbmx5IHRoZQogICAgICAgICAgICAgICh1aWQsJSksICglLGdpZCksICglLCUpIGVu dHJpZXMuICAqLwotICAgICAgICAgIGlmIChjb3VudCA+IDMpCi0gICAgICAgICAgICByZXR1 cm4gMTsKLQotICAgICAgICAgIGlmIChnZXRhY2wgKG5hbWUsIGNvdW50LCBlbnRyaWVzKSA9 PSBjb3VudCkKLSAgICAgICAgICAgIHsKLSAgICAgICAgICAgICAgc3RydWN0IHN0YXQgc3Rh dGJ1ZjsKLQotICAgICAgICAgICAgICBpZiAoc3RhdCAobmFtZSwgJnN0YXRidWYpIDwgMCkK LSAgICAgICAgICAgICAgICByZXR1cm4gLTE7Ci0KLSAgICAgICAgICAgICAgcmV0dXJuIGFj bF9ub250cml2aWFsIChjb3VudCwgZW50cmllcywgJnN0YXRidWYpOwotICAgICAgICAgICAg fQotICAgICAgICAgIC8qIEh1aD8gVGhlIG51bWJlciBvZiBBQ0wgZW50cmllcyBjaGFuZ2Vk IHNpbmNlIHRoZSBsYXN0IGNhbGwuCi0gICAgICAgICAgICAgUmVwZWF0LiAgKi8KKyAgICAg ICAgICByZXR1cm4gMTsKICAgICAgICAgfQotCi0jICBpZiBIQVZFX0FDTFZfSCAvKiBIUC1V WCA+PSAxMS4xMSAqLwotCi0gICAgICBmb3IgKDs7KQorICAgICAgZWxzZQogICAgICAgICB7 Ci0gICAgICAgICAgaW50IGNvdW50OwotICAgICAgICAgIHN0cnVjdCBhY2wgZW50cmllc1tO QUNMVkVOVFJJRVNdOwotCi0gICAgICAgICAgY291bnQgPSBhY2wgKChjaGFyICopIG5hbWUs IEFDTF9DTlQsIE5BQ0xWRU5UUklFUywgZW50cmllcyk7CisgICAgICAgICAgc3RydWN0IHN0 YXQgc3RhdGJ1ZjsKCi0gICAgICAgICAgaWYgKGNvdW50IDwgMCkKLSAgICAgICAgICAgIHsK LSAgICAgICAgICAgICAgLyogRU9QTk9UU1VQUCBpcyBzZWVuIG9uIE5GUyBpbiBIUC1VWCAx MS4xMSwgMTEuMjMuCi0gICAgICAgICAgICAgICAgIEVJTlZBTCBpcyBzZWVuIG9uIE5GUyBp biBIUC1VWCAxMS4zMS4gICovCi0gICAgICAgICAgICAgIGlmIChlcnJubyA9PSBFTk9TWVMg fHwgZXJybm8gPT0gRU9QTk9UU1VQUCB8fCBlcnJubyA9PSBFSU5WQUwpCi0gICAgICAgICAg ICAgICAgYnJlYWs7Ci0gICAgICAgICAgICAgIGVsc2UKLSAgICAgICAgICAgICAgICByZXR1 cm4gLTE7Ci0gICAgICAgICAgICB9Ci0KLSAgICAgICAgICBpZiAoY291bnQgPT0gMCkKLSAg ICAgICAgICAgIHJldHVybiAwOworICAgICAgICAgIGlmIChzdGF0IChuYW1lLCAmc3RhdGJ1 ZikgPCAwKQorICAgICAgICAgICAgcmV0dXJuIC0xOwoKLSAgICAgICAgICBpZiAoY291bnQg PiBOQUNMVkVOVFJJRVMpCi0gICAgICAgICAgICAvKiBJZiBOQUNMVkVOVFJJRVMgY2Fubm90 IGJlIHRydXN0ZWQsIHVzZSBkeW5hbWljIG1lbW9yeQotICAgICAgICAgICAgICAgYWxsb2Nh dGlvbi4gICovCi0gICAgICAgICAgICBhYm9ydCAoKTsKKyAgICAgICAgICByZXR1cm4gYWNs X25vbnRyaXZpYWwgKGNvdW50LCBlbnRyaWVzLCAmc3RhdGJ1Zik7CisgICAgICAgIH0KCi0g ICAgICAgICAgLyogSWYgdGhlcmUgYXJlIG1vcmUgdGhhbiA0IGVudHJpZXMsIHRoZXJlIGNh bm5vdCBiZSBvbmx5IHRoZQotICAgICAgICAgICAgIGZvdXIgYmFzZSBBQ0wgZW50cmllcy4g ICovCi0gICAgICAgICAgaWYgKGNvdW50ID4gNCkKLSAgICAgICAgICAgIHJldHVybiAxOwor IyAgaWYgSEFWRV9BQ0xWX0ggLyogSFAtVVggPj0gMTEuMTEgKi8KCi0gICAgICAgICAgaWYg KGFjbCAoKGNoYXIgKikgbmFtZSwgQUNMX0dFVCwgY291bnQsIGVudHJpZXMpID09IGNvdW50 KQotICAgICAgICAgICAgcmV0dXJuIGFjbHZfbm9udHJpdmlhbCAoY291bnQsIGVudHJpZXMp OwotICAgICAgICAgIC8qIEh1aD8gVGhlIG51bWJlciBvZiBBQ0wgZW50cmllcyBjaGFuZ2Vk IHNpbmNlIHRoZSBsYXN0IGNhbGwuCi0gICAgICAgICAgICAgUmVwZWF0LiAgKi8KLSAgICAg ICAgfQorICAgICAgeworICAgICAgICBzdHJ1Y3QgYWNsIGVudHJpZXNbNV07CisgICAgICAg IGludCBjb3VudCA9IGFjbCAoKGNoYXIgKikgbmFtZSwgQUNMX0dFVCwgNSwgZW50cmllcyk7 CisgICAgICAgIGlmICgwIDw9IGNvdW50KQorICAgICAgICAgIHJldHVybiBhY2x2X25vbnRy aXZpYWwgKGNvdW50LCBlbnRyaWVzKTsKKworICAgICAgICAvKiBFT1BOT1RTVVBQIGlzIHNl ZW4gb24gTkZTIGluIEhQLVVYIDExLjExLCAxMS4yMy4KKyAgICAgICAgICAgRUlOVkFMIGlz IHNlZW4gb24gTkZTIGluIEhQLVVYIDExLjMxLiAgKi8KKyAgICAgICAgaWYgKCEgKGVycm5v ID09IEVOT1NZUyB8fCBlcnJubyA9PSBFT1BOT1RTVVBQIHx8IGVycm5vID09IEVJTlZBTCkp CisgICAgICAgICAgcmV0dXJuIC0xOworICAgICAgfQoKICMgIGVuZGlmCgpAQCAtNzk4LDM4 ICs2ODYsMTIgQEAgZmlsZV9oYXNfYWNsIChjaGFyIGNvbnN0ICpuYW1lLCBzdHJ1Y3Qgc3Rh dCBjb25zdCAqc2IpCiAjIGVsaWYgSEFWRV9BQ0xTT1JUIC8qIE5vblN0b3AgS2VybmVsICov CgogICAgICAgaW50IGNvdW50OwotICAgICAgc3RydWN0IGFjbCBlbnRyaWVzW05BQ0xFTlRS SUVTXTsKLQotICAgICAgZm9yICg7OykKLSAgICAgICAgewotICAgICAgICAgIGNvdW50ID0g YWNsICgoY2hhciAqKSBuYW1lLCBBQ0xfQ05ULCBOQUNMRU5UUklFUywgTlVMTCk7Ci0KLSAg ICAgICAgICBpZiAoY291bnQgPCAwKQotICAgICAgICAgICAgewotICAgICAgICAgICAgICBp ZiAoZXJybm8gPT0gRU5PU1lTIHx8IGVycm5vID09IEVOT1RTVVApCi0gICAgICAgICAgICAg ICAgYnJlYWs7Ci0gICAgICAgICAgICAgIGVsc2UKLSAgICAgICAgICAgICAgICByZXR1cm4g LTE7Ci0gICAgICAgICAgICB9Ci0KLSAgICAgICAgICBpZiAoY291bnQgPT0gMCkKLSAgICAg ICAgICAgIHJldHVybiAwOwotCi0gICAgICAgICAgaWYgKGNvdW50ID4gTkFDTEVOVFJJRVMp Ci0gICAgICAgICAgICAvKiBJZiBOQUNMRU5UUklFUyBjYW5ub3QgYmUgdHJ1c3RlZCwgdXNl IGR5bmFtaWMgbWVtb3J5Ci0gICAgICAgICAgICAgICBhbGxvY2F0aW9uLiAgKi8KLSAgICAg ICAgICAgIGFib3J0ICgpOwotCi0gICAgICAgICAgLyogSWYgdGhlcmUgYXJlIG1vcmUgdGhh biA0IGVudHJpZXMsIHRoZXJlIGNhbm5vdCBiZSBvbmx5IHRoZQotICAgICAgICAgICAgIGZv dXIgYmFzZSBBQ0wgZW50cmllcy4gICovCi0gICAgICAgICAgaWYgKGNvdW50ID4gNCkKLSAg ICAgICAgICAgIHJldHVybiAxOwotCi0gICAgICAgICAgaWYgKGFjbCAoKGNoYXIgKikgbmFt ZSwgQUNMX0dFVCwgY291bnQsIGVudHJpZXMpID09IGNvdW50KQotICAgICAgICAgICAgcmV0 dXJuIGFjbF9ub250cml2aWFsIChjb3VudCwgZW50cmllcyk7Ci0gICAgICAgICAgLyogSHVo PyBUaGUgbnVtYmVyIG9mIEFDTCBlbnRyaWVzIGNoYW5nZWQgc2luY2UgdGhlIGxhc3QgY2Fs bC4KLSAgICAgICAgICAgICBSZXBlYXQuICAqLwotICAgICAgICB9CisgICAgICBzdHJ1Y3Qg YWNsIGVudHJpZXNbNV07CisgICAgICBpbnQgY291bnQgPSBhY2wgKChjaGFyICopIG5hbWUs IEFDTF9HRVQsIDUsIGVudHJpZXMpOworICAgICAgaWYgKDAgPD0gY291bnQpCisgICAgICAg IHJldHVybiBhY2xfbm9udHJpdmlhbCAoY291bnQsIGVudHJpZXMpOworICAgICAgaWYgKCEg KGVycm5vID09IEVOT1NZUyB8fCBlcnJubyA9PSBFTk9UU1VQKSkKKyAgICAgICAgcmV0dXJu IC0xOwoKICMgZW5kaWYKICAgICB9CmRpZmYgLS1naXQgYS9saWIvc2V0LW1vZGUtYWNsLmMg Yi9saWIvc2V0LW1vZGUtYWNsLmMKaW5kZXggYTgxYjMyMS4uNzUwMTgxOCAxMDA2NDQKLS0t IGEvbGliL3NldC1tb2RlLWFjbC5jCisrKyBiL2xpYi9zZXQtbW9kZS1hY2wuYwpAQCAtMjEz LDQ5ICsyMTMsNDggQEAgcXNldF9hY2wgKGNoYXIgY29uc3QgKm5hbWUsIGludCBkZXNjLCBt b2RlX3QgbW9kZSkKICAgICAgSW4gdGhlIG5ldyBjb252ZW50aW9uLCB0aGVzZSB2YWx1ZXMg YXJlIG5vdCB1c2VkLiAgKi8KICAgaW50IGNvbnZlbnRpb247CgotICB7Ci0gICAgaW50IGNv dW50OwotICAgIGFjZV90ICplbnRyaWVzOwotCi0gICAgZm9yICg7OykKLSAgICAgIHsKLSAg ICAgICAgaWYgKGRlc2MgIT0gLTEpCi0gICAgICAgICAgY291bnQgPSBmYWNsIChkZXNjLCBB Q0VfR0VUQUNMQ05ULCAwLCBOVUxMKTsKLSAgICAgICAgZWxzZQotICAgICAgICAgIGNvdW50 ID0gYWNsIChuYW1lLCBBQ0VfR0VUQUNMQ05ULCAwLCBOVUxMKTsKLSAgICAgICAgaWYgKGNv dW50IDw9IDApCi0gICAgICAgICAgewotICAgICAgICAgICAgY29udmVudGlvbiA9IC0xOwot ICAgICAgICAgICAgYnJlYWs7Ci0gICAgICAgICAgfQotICAgICAgICBlbnRyaWVzID0gKGFj ZV90ICopIG1hbGxvYyAoY291bnQgKiBzaXplb2YgKGFjZV90KSk7Ci0gICAgICAgIGlmIChl bnRyaWVzID09IE5VTEwpCi0gICAgICAgICAgewotICAgICAgICAgICAgZXJybm8gPSBFTk9N RU07Ci0gICAgICAgICAgICByZXR1cm4gLTE7Ci0gICAgICAgICAgfQotICAgICAgICBpZiAo KGRlc2MgIT0gLTEKLSAgICAgICAgICAgICA/IGZhY2wgKGRlc2MsIEFDRV9HRVRBQ0wsIGNv dW50LCBlbnRyaWVzKQotICAgICAgICAgICAgIDogYWNsIChuYW1lLCBBQ0VfR0VUQUNMLCBj b3VudCwgZW50cmllcykpCi0gICAgICAgICAgICA9PSBjb3VudCkKLSAgICAgICAgICB7Ci0g ICAgICAgICAgICBpbnQgaTsKLQotICAgICAgICAgICAgY29udmVudGlvbiA9IDA7Ci0gICAg ICAgICAgICBmb3IgKGkgPSAwOyBpIDwgY291bnQ7IGkrKykKLSAgICAgICAgICAgICAgaWYg KGVudHJpZXNbaV0uYV9mbGFncyAmIChPTERfQUNFX09XTkVSIHwgT0xEX0FDRV9HUk9VUCB8 IE9MRF9BQ0VfT1RIRVIpKQotICAgICAgICAgICAgICAgIHsKLSAgICAgICAgICAgICAgICAg IGNvbnZlbnRpb24gPSAxOwotICAgICAgICAgICAgICAgICAgYnJlYWs7Ci0gICAgICAgICAg ICAgICAgfQotICAgICAgICAgICAgZnJlZSAoZW50cmllcyk7Ci0gICAgICAgICAgICBicmVh azsKLSAgICAgICAgICB9Ci0gICAgICAgIC8qIEh1aD8gVGhlIG51bWJlciBvZiBBQ0wgZW50 cmllcyBjaGFuZ2VkIHNpbmNlIHRoZSBsYXN0IGNhbGwuCi0gICAgICAgICAgIFJlcGVhdC4g ICovCi0gICAgICAgIGZyZWUgKGVudHJpZXMpOwotICAgICAgfQotICB9CisgIGZvciAoOzsp CisgICAgeworICAgICAgYWNlX3QgKmVudHJpZXM7CisgICAgICBpbnQgaSwgY291bnQxLCBh Y2xfZXJybm87CisgICAgICBpbnQgY291bnQgPSAoZGVzYyAhPSAtMQorICAgICAgICAgICAg ICAgICAgID8gZmFjbCAoZGVzYywgQUNFX0dFVEFDTENOVCwgMCwgTlVMTCkKKyAgICAgICAg ICAgICAgICAgICA6IGFjbCAobmFtZSwgQUNFX0dFVEFDTENOVCwgMCwgTlVMTCkpOworICAg ICAgaWYgKGNvdW50IDw9IDApCisgICAgICAgIHsKKyAgICAgICAgICBjb252ZW50aW9uID0g LTE7CisgICAgICAgICAgYnJlYWs7CisgICAgICAgIH0KKyAgICAgIGlmICghIChjb3VudCA8 IE1JTiAoSU5UX01BWCwgKHNpemVfdCkgLTEgLyBzaXplb2YgKGFjZV90KSkKKyAgICAgICAg ICAgICAmJiAoZW50cmllcyA9IChhY2VfdCAqKSBtYWxsb2MgKChjb3VudCArIDEpICogc2l6 ZW9mIChhY2VfdCkpKSkpCisgICAgICAgIHsKKyAgICAgICAgICBlcnJubyA9IEVOT01FTTsK KyAgICAgICAgICByZXR1cm4gLTE7CisgICAgICAgIH0KKyAgICAgIGNvdW50MSA9IChkZXNj ICE9IC0xCisgICAgICAgICAgICAgICAgPyBmYWNsIChkZXNjLCBBQ0VfR0VUQUNMLCBjb3Vu dCArIDEsIGVudHJpZXMpCisgICAgICAgICAgICAgICAgOiBhY2wgKG5hbWUsIEFDRV9HRVRB Q0wsIGNvdW50ICsgMSwgZW50cmllcykpOworICAgICAgYWNsX2Vycm5vID0gZXJybm87Cisg ICAgICBpZiAoY291bnQxIDw9IDApCisgICAgICAgIGNvbnZlbnRpb24gPSAtMTsKKyAgICAg IGVsc2UKKyAgICAgICAgeworICAgICAgICAgIGNvbnZlbnRpb24gPSAwOworICAgICAgICAg IGZvciAoaSA9IDA7IGkgPCBjb3VudDE7IGkrKykKKyAgICAgICAgICAgIGlmIChlbnRyaWVz W2ldLmFfZmxhZ3MKKyAgICAgICAgICAgICAgICAmIChPTERfQUNFX09XTkVSIHwgT0xEX0FD RV9HUk9VUCB8IE9MRF9BQ0VfT1RIRVIpKQorICAgICAgICAgICAgICB7CisgICAgICAgICAg ICAgICAgY29udmVudGlvbiA9IDE7CisgICAgICAgICAgICAgICAgYnJlYWs7CisgICAgICAg ICAgICAgIH0KKyAgICAgICAgfQorICAgICAgZnJlZSAoZW50cmllcyk7CisgICAgICBlcnJu byA9IGFjbF9lcnJubzsKKyAgICAgIGlmIChjb252ZW50aW9uIHx8IGNvdW50MSA8PSBjb3Vu dCkKKyAgICAgICAgYnJlYWs7CisgICAgICAvKiBIdWg/IFRoZSBudW1iZXIgb2YgQUNMIGVu dHJpZXMgZ3JldyBzaW5jZSB0aGUgbGFzdCBjYWxsLgorICAgICAgICAgUmVwZWF0LiAgKi8K KyAgICB9CgogICBpZiAoY29udmVudGlvbiA+PSAwKQogICAgIHsK --------------070905060105010307040200--
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 31 Jan 2012 03:02:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 30 22:02:39 2012 Received: from localhost ([127.0.0.1]:46018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Rs3zR-0006aj-TS for submit <at> debbugs.gnu.org; Mon, 30 Jan 2012 22:02:39 -0500 Received: from mail119.messagelabs.com ([216.82.241.195]:18465) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <rj7252@HIDDEN>) id 1Rs3zP-0006aX-67 for 10639 <at> debbugs.gnu.org; Mon, 30 Jan 2012 22:02:36 -0500 X-Env-Sender: rj7252@HIDDEN X-Msg-Ref: server-7.tower-119.messagelabs.com!1327978936!13207850!1 X-Originating-IP: [144.160.20.145] X-StarScan-Version: 6.4.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 30344 invoked from network); 31 Jan 2012 03:02:16 -0000 Received: from sbcsmtp6.sbc.com (HELO mlpd192.enaf.sfdc.sbc.com) (144.160.20.145) by server-7.tower-119.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 31 Jan 2012 03:02:16 -0000 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0V32krt017781; Mon, 30 Jan 2012 22:02:46 -0500 Received: from sflint02.pst.cso.att.com (sflint02.pst.cso.att.com [144.154.234.229]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0V32fLv017740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jan 2012 22:02:42 -0500 Received: from MISOUT7MSGHUB9B.ITServices.sbc.com (misout7msghub9b.itservices.sbc.com [144.151.223.72]) by sflint02.pst.cso.att.com (RSA Interceptor); Mon, 30 Jan 2012 22:02:01 -0500 Received: from MISOUT7MSGUSR9A.ITServices.sbc.com ([169.254.1.10]) by MISOUT7MSGHUB9B.ITServices.sbc.com ([144.151.223.72]) with mapi id 14.01.0355.002; Mon, 30 Jan 2012 22:01:56 -0500 From: "JONES, BILL" <rj7252@HIDDEN> To: Paul Eggert <eggert@HIDDEN> Subject: RE: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Thread-Topic: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Thread-Index: AQHM3wtyk6ZIvx91sU2gb1LetA/LjpYkYAFdgAF0YwD///aQLQ== Date: Tue, 31 Jan 2012 03:01:54 +0000 Message-ID: <2B72DD7087E4A24A895A948352DA2F92020AEA3B@HIDDEN> References: <201201291720.q0THKvRW010730@HIDDEN>, <4F2622D3.8060207@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AAB91@HIDDEN>, <4F271AF6.9060500@HIDDEN> In-Reply-To: <4F271AF6.9060500@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.153.216.34] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RSA-Inspected: yes X-RSA-Classifications: public X-RSA-Action: allow X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10639 Cc: "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.2 (----) I am not sure how the test was run...if it was run in the current directory= as the compile it would be /appl/... those are vxfs. Bill ________________________________________ From: Paul Eggert [eggert@HIDDEN] Sent: Monday, January 30, 2012 5:34 PM To: JONES, BILL Cc: 10639 <at> debbugs.gnu.org Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit On 01/29/2012 09:25 PM, JONES, BILL wrote: > The FS are a mix. Some vxfs and some ufs. Thanks; which file system was the test actually run on? (I have a Solaris 10 sparc box here to test with, just wanna have something as close to yours as I can.)=
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 30 Jan 2012 22:34:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 30 17:34:53 2012 Received: from localhost ([127.0.0.1]:45765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RrzoK-0007HV-OC for submit <at> debbugs.gnu.org; Mon, 30 Jan 2012 17:34:53 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:48147) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eggert@HIDDEN>) id 1RrzoH-0007HH-VT for 10639 <at> debbugs.gnu.org; Mon, 30 Jan 2012 17:34:51 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id B606839E800C; Mon, 30 Jan 2012 14:34:31 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dyZrJZUlBeP; Mon, 30 Jan 2012 14:34:31 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 4657E39E800B; Mon, 30 Jan 2012 14:34:31 -0800 (PST) Message-ID: <4F271AF6.9060500@HIDDEN> Date: Mon, 30 Jan 2012 14:34:30 -0800 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: "JONES, BILL" <rj7252@HIDDEN> Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit References: <201201291720.q0THKvRW010730@HIDDEN>, <4F2622D3.8060207@HIDDEN> <2B72DD7087E4A24A895A948352DA2F92020AAB91@HIDDEN> In-Reply-To: <2B72DD7087E4A24A895A948352DA2F92020AAB91@HIDDEN> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) On 01/29/2012 09:25 PM, JONES, BILL wrote: > The FS are a mix. Some vxfs and some ufs. Thanks; which file system was the test actually run on? (I have a Solaris 10 sparc box here to test with, just wanna have something as close to yours as I can.)
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 30 Jan 2012 05:26:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 30 00:26:16 2012 Received: from localhost ([127.0.0.1]:44456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Rrjku-0005sZ-75 for submit <at> debbugs.gnu.org; Mon, 30 Jan 2012 00:26:16 -0500 Received: from mail120.messagelabs.com ([216.82.250.83]:12332) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <rj7252@HIDDEN>) id 1Rrjkg-0005rv-6f for 10639 <at> debbugs.gnu.org; Mon, 30 Jan 2012 00:26:15 -0500 X-Env-Sender: rj7252@HIDDEN X-Msg-Ref: server-5.tower-120.messagelabs.com!1327901152!61052340!1 X-Originating-IP: [144.160.20.145] X-StarScan-Version: 6.4.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 25897 invoked from network); 30 Jan 2012 05:25:53 -0000 Received: from sbcsmtp6.sbc.com (HELO mlpd192.enaf.sfdc.sbc.com) (144.160.20.145) by server-5.tower-120.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 30 Jan 2012 05:25:53 -0000 Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0U5QMbB001677 for <10639 <at> debbugs.gnu.org>; Mon, 30 Jan 2012 00:26:22 -0500 Received: from sflint01.pst.cso.att.com (sflint01.pst.cso.att.com [144.154.234.228]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q0U5QIlG001652 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <10639 <at> debbugs.gnu.org>; Mon, 30 Jan 2012 00:26:18 -0500 Received: from MISOUT7MSGHUB9C.ITServices.sbc.com (misout7msghub9c.itservices.sbc.com [144.151.223.82]) by sflint01.pst.cso.att.com (RSA Interceptor) for <10639 <at> debbugs.gnu.org>; Mon, 30 Jan 2012 00:25:38 -0500 Received: from MISOUT7MSGUSR9A.ITServices.sbc.com ([169.254.1.10]) by MISOUT7MSGHUB9C.ITServices.sbc.com ([144.151.223.82]) with mapi id 14.01.0355.002; Mon, 30 Jan 2012 00:25:38 -0500 From: "JONES, BILL" <rj7252@HIDDEN> To: "10639 <at> debbugs.gnu.org" <10639 <at> debbugs.gnu.org> Subject: RE: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Thread-Topic: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Thread-Index: AQHM3wtyk6ZIvx91sU2gb1LetA/LjpYkYAFd Date: Mon, 30 Jan 2012 05:25:37 +0000 Message-ID: <2B72DD7087E4A24A895A948352DA2F92020AAB91@HIDDEN> References: <201201291720.q0THKvRW010730@HIDDEN>, <4F2622D3.8060207@HIDDEN> In-Reply-To: <4F2622D3.8060207@HIDDEN> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [135.153.216.35] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-RSA-Inspected: yes X-RSA-Classifications: public X-RSA-Action: allow X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 10639 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -4.2 (----) Paul, SUN Solaris 10 The FS are a mix. Some vxfs and some ufs. $ mount / on /dev/vx/dsk/bootdg/rootvol read/write/setuid/devices/intr/largefiles/l= ogging/xattr/onerror=3Dpanic/dev=3D4340000 on Sat Jan 21 05:16:53 2012 /devices on /devices read/write/setuid/devices/dev=3D5780000 on Sat Jan 21 = 05:13:16 2012 /system/contract on ctfs read/write/setuid/devices/dev=3D57c0001 on Sat Jan= 21 05:13:16 2012 /proc on proc read/write/setuid/devices/dev=3D5800000 on Sat Jan 21 05:13:1= 6 2012 /etc/mnttab on mnttab read/write/setuid/devices/dev=3D5840001 on Sat Jan 21= 05:13:16 2012 /etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=3D5880001 on = Sat Jan 21 05:13:16 2012 /system/object on objfs read/write/setuid/devices/dev=3D58c0001 on Sat Jan = 21 05:13:16 2012 /etc/dfs/sharetab on sharefs read/write/setuid/devices/dev=3D5900001 on Sat= Jan 21 05:13:17 2012 /platform/sun4u-us3/lib/libc_psr.so.1 on /platform/sun4u-us3/lib/libc_psr/l= ibc_psr_hwcap2.so.1 read/write/setuid/devices/dev=3D4340000 on Sat Jan 21 0= 5:16:50 2012 /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 on /platform/sun4u-us3/lib/sp= arcv9/libc_psr/libc_psr_hwcap2.so.1 read/write/setuid/devices/dev=3D4340000= on Sat Jan 21 05:16:50 2012 /dev/fd on fd read/write/setuid/devices/dev=3D5a80001 on Sat Jan 21 05:16:5= 3 2012 /var on /dev/vx/dsk/bootdg/var read/write/setuid/devices/intr/largefiles/lo= gging/xattr/onerror=3Dpanic/dev=3D4356764 on Sat Jan 21 05:16:53 2012 /tmp on swap read/write/setuid/devices/xattr/dev=3D5880002 on Sat Jan 21 05= :16:53 2012 /var/run on swap read/write/setuid/devices/xattr/dev=3D5880003 on Sat Jan 2= 1 05:16:53 2012 /dev/vx/dmp on swap read/write/setuid/devices/xattr/dev=3D5880004 on Sat Ja= n 21 05:16:55 2012 /dev/vx/rdmp on swap read/write/setuid/devices/xattr/dev=3D5880005 on Sat J= an 21 05:16:55 2012 /extra on /dev/vx/dsk/bootdg/extra read/write/setuid/devices/intr/largefile= s/logging/xattr/onerror=3Dpanic/dev=3D4356762 on Sat Jan 21 05:17:12 2012 /export/home on /dev/vx/dsk/bootdg/home read/write/setuid/devices/intr/larg= efiles/logging/xattr/onerror=3Dpanic/dev=3D4356763 on Sat Jan 21 05:17:12 2= 012 /appl/logs on /dev/vx/dsk/appldg/vol07 read/write/setuid/devices/delaylog/l= argefiles/ioerror=3Dmwdisable/dev=3D43459de on Sat Jan 21 05:17:13 2012 /appl/repos on /dev/vx/dsk/appldg/vol02 read/write/setuid/devices/delaylog/= largefiles/ioerror=3Dmwdisable/dev=3D43459d9 on Sat Jan 21 05:17:13 2012 /appl/archives on /dev/vx/dsk/appldg/vol06 read/write/setuid/devices/delayl= og/largefiles/ioerror=3Dmwdisable/dev=3D43459dd on Sat Jan 21 05:17:13 2012 /appl/gfpip on /dev/vx/dsk/appldg/vol01 read/write/setuid/devices/delaylog/= largefiles/ioerror=3Dmwdisable/dev=3D43459d8 on Sat Jan 21 05:17:14 2012 /appl/var on /dev/vx/dsk/appldg/vol05 read/write/setuid/devices/delaylog/la= rgefiles/ioerror=3Dmwdisable/dev=3D43459dc on Sat Jan 21 05:17:15 2012 /appl/data on /dev/vx/dsk/appldg/vol04 read/write/setuid/devices/delaylog/l= argefiles/ioerror=3Dmwdisable/dev=3D43459db on Sat Jan 21 05:17:15 2012 /appl/IBM on /dev/vx/dsk/appldg/lvol13 read/write/setuid/devices/delaylog/l= argefiles/ioerror=3Dmwdisable/dev=3D43459e4 on Wed Jan 25 15:56:39 2012 /nas/usr/sbc on r07748fb1n1-nas:/vol/v00_fs01_admin/q00_fs01_admin/sun remo= te/read only/setuid/devices/soft/bg/noquota/proto=3Dtcp/xattr/dev=3D5b005a6= on Mon Jan 30 05:19:08 2012 SunOS gfpmtipb 5.10 Generic_142900-06 sun4u sparc SUNW,Netra-T12 Solaris Bill ________________________________________ From: Paul Eggert [eggert@HIDDEN] Sent: Sunday, January 29, 2012 11:55 PM To: JONES, BILL Cc: 10639 <at> debbugs.gnu.org Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit Thanks for the bug report. What kind of file system was the test run on, and what mount options were used for it? E.g., what's the output of the "mount" command? Also, what's the output of "uname -a", and which compiler did you use to build coreutils?=
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at 10639) by debbugs.gnu.org; 30 Jan 2012 04:56:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 29 23:56:06 2012 Received: from localhost ([127.0.0.1]:44443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RrjHh-0005Ab-VY for submit <at> debbugs.gnu.org; Sun, 29 Jan 2012 23:56:06 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:44378) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eggert@HIDDEN>) id 1RrjHe-0005A6-UJ for 10639 <at> debbugs.gnu.org; Sun, 29 Jan 2012 23:56:04 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 7B80239E800F; Sun, 29 Jan 2012 20:55:49 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c2xWnIM6xox3; Sun, 29 Jan 2012 20:55:49 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 1AA6839E800E; Sun, 29 Jan 2012 20:55:49 -0800 (PST) Message-ID: <4F2622D3.8060207@HIDDEN> Date: Sun, 29 Jan 2012 20:55:47 -0800 From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: rj7252@HIDDEN Subject: Re: bug#10639: BUG REPORT coreutils-8.15 Solaris 10 64bit References: <201201291720.q0THKvRW010730@HIDDEN> In-Reply-To: <201201291720.q0THKvRW010730@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10639 Cc: 10639 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: 10639 <at> debbugs.gnu.org List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) Thanks for the bug report. What kind of file system was the test run on, and what mount options were used for it? E.g., what's the output of the "mount" command? Also, what's the output of "uname -a", and which compiler did you use to build coreutils?
bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Jan 2012 17:24:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 29 12:24:11 2012 Received: from localhost ([127.0.0.1]:44012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1RrYTT-0004mg-JE for submit <at> debbugs.gnu.org; Sun, 29 Jan 2012 12:24:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40363) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYT0-0004lh-31 for submit <at> debbugs.gnu.org; Sun, 29 Jan 2012 12:23:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYSP-0003aQ-90 for submit <at> debbugs.gnu.org; Sun, 29 Jan 2012 12:22:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:38366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYSP-0003aM-3r for submit <at> debbugs.gnu.org; Sun, 29 Jan 2012 12:22:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYRx-0001ZA-CZ for bug-coreutils@HIDDEN; Sun, 29 Jan 2012 12:22:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYRU-0003UG-GR for bug-coreutils@HIDDEN; Sun, 29 Jan 2012 12:21:57 -0500 Received: from mail119.messagelabs.com ([216.82.241.195]:10049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <dl-GFP-IPAppmtipb@HIDDEN>) id 1RrYRT-0003U8-N7 for bug-coreutils@HIDDEN; Sun, 29 Jan 2012 12:21:28 -0500 X-Env-Sender: dl-GFP-IPAppmtipb@HIDDEN X-Msg-Ref: server-10.tower-119.messagelabs.com!1327857684!12956404!1 X-Originating-IP: [144.160.112.28] X-StarScan-Version: 6.4.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 18036 invoked from network); 29 Jan 2012 17:21:24 -0000 Received: from sbcsmtp3.sbc.com (HELO tlpi048.enaf.dadc.sbc.com) (144.160.112.28) by server-10.tower-119.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 29 Jan 2012 17:21:24 -0000 Received: from enaf.dadc.sbc.com (localhost.localdomain [127.0.0.1]) by tlpi048.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id q0THLNuE028419 for <bug-coreutils@HIDDEN>; Sun, 29 Jan 2012 11:21:24 -0600 Received: from dalint02.pst.cso.att.com (dalint02.pst.cso.att.com [135.31.133.160]) by tlpi048.enaf.dadc.sbc.com (8.14.5/8.14.5) with ESMTP id q0THLKne028373 for <bug-coreutils@HIDDEN>; Sun, 29 Jan 2012 11:21:20 -0600 Received: from tlpi045.dadc.sbc.com (tlpi045.dadc.sbc.com [135.31.41.113]) by dalint02.pst.cso.att.com (RSA Interceptor) for <bug-coreutils@HIDDEN>; Sun, 29 Jan 2012 11:21:04 -0600 Received: from dadc.sbc.com (localhost.localdomain [127.0.0.1]) by tlpi045.dadc.sbc.com (8.14.4/8.14.4) with ESMTP id q0THL349006480 for <bug-coreutils@HIDDEN>; Sun, 29 Jan 2012 11:21:03 -0600 Received: from gfpmtipb.nelab.els.att.net (gfpmtipb.oss.att.com [135.91.10.72]) by tlpi045.dadc.sbc.com (8.14.4/8.14.4) with ESMTP id q0THKw86006425; Sun, 29 Jan 2012 11:20:58 -0600 Received: from gfpmtipb.nelab.els.att.net (localhost [127.0.0.1]) by gfpmtipb.nelab.els.att.net (8.14.0/8.14.3) with ESMTP id q0THKwMp010731; Sun, 29 Jan 2012 17:20:58 GMT Received: (from gfp-ip@localhost) by gfpmtipb.nelab.els.att.net (8.14.0/8.14.0/Submit) id q0THKvRW010730; Sun, 29 Jan 2012 17:20:57 GMT Date: Sun, 29 Jan 2012 17:20:57 GMT From: gfpmtipb GFP IP App ID <dl-GFP-IPAppmtipb@HIDDEN> Message-Id: <201201291720.q0THKvRW010730@HIDDEN> To: bug-coreutils@HIDDEN, rj7252@HIDDEN Subject: BUG REPORT coreutils-8.15 Solaris 10 64bit X-RSA-Inspected: yes X-RSA-Classifications: MIDS Alert CCFP, IVPN CCFP, public, Ticket Number SSNFP, General SSNFP Patterns X-RSA-Action: allow X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Please reply to rj7252@HIDDEN This is coreutils-8.15 compiled on Solaris 10 in 64bit. NOTE: I had to disable ACL because "cp -ab x y" hung during testing and truss showed this output: acl("x", ACE_GETACL, 4, 0x3432A15D0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1610) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1650) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1690) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 brk(0x3432A3420) = 0 brk(0x3432A7420) = 0 acl("x", ACE_GETACL, 4, 0x3432A16E0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1720) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1760) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A17A0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A17E0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1820) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1860) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A18A0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A18E0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1920) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1960) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A19A0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A19E0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1A20) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1A60) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1AA0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1AE0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1B20) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1B60) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1BA0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1BE0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1C20) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1C60) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1CA0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1CE0) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1D20) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1D60) Err#-1 acl("x", ACE_GETACLCNT, 0, 0x00000000) = 4 acl("x", ACE_GETACL, 4, 0x3432A1DA0) Err#-1 Log starts here: ====================================================================================================================== ============================================== GNU coreutils 8.15: tests/test-suite.log ============================================== # TOTAL: 466 # PASS: 382 # SKIP: 82 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: tail-2/inotify-race ========================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-inotify-race.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-inotify-race.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-inotify-race.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.t-Hh' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'inotify-race: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'inotify-race: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' inotify-race: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'inotify-race: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-race.tSHh + exit 77 SKIP: rm/ext3-perf ================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-ext3-perf.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-ext3-perf.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-ext3-perf.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'ext3-perf: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'ext3-perf: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' ext3-perf: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'ext3-perf: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-ext3-perf.3hWY + exit 77 SKIP: cp/link-heap ================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-link-heap.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-link-heap.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-link-heap.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'link-heap: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'link-heap: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' link-heap: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'link-heap: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-heap.pMQF + exit 77 SKIP: tail-2/inotify-rotate =========================== + tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + . /appl/archives/build_tools/tools/src/coreutils-8.15/tests/init.sh +++ expr .//appl/archives/build_tools/tools/src/coreutils-8.15/tests/tail-2/inotify-rotate : '.*/\(.*\)$' ++ ME_=inotify-rotate ++ : 2 ++ DUALCASE=1 ++ export DUALCASE ++ test -n '' ++ case `(set -o) 2>/dev/null` in ++ set -o posix ++ gl_shell_test_script_=' test $(echo y) = y || exit 1 score_=10 if test "$VERBOSE" = yes; then test -n "$( (exec 3>&1; set -x; P=1 true 2>&3) 2> /dev/null)" && score_=9 fi test -z "$EXEEXT" && exit $score_ shopt -s expand_aliases alias a-b="echo zoo" v=abx test ${v%x} = ab \ && test ${v#a} = bx \ && test $(a-b) = zoo \ && exit $score_ ' ++ test x = x--no-reexec ++ gl_set_x_corrupts_stderr_=false ++ export gl_set_x_corrupts_stderr_ ++ marginal_= ++ for re_shell_ in __current__ '"${CONFIG_SHELL:-no_shell}"' /bin/sh bash dash zsh pdksh fail ++ test __current__ = no_shell ++ test __current__ = fail ++ test __current__ = __current__ ++ st_=10 ++ test 10 = 10 ++ gl_set_x_corrupts_stderr_=false ++ break ++ test __current__ '!=' __current__ ++ test -n '' ++ : 87 ++ export MALLOC_PERTURB_ ++ diff_out_='No differences encountered' ++ test -z 'No differences encountered' ++ test -f /appl/archives/build_tools/tools/src/coreutils-8.15/tests/init.cfg ++ . /appl/archives/build_tools/tools/src/coreutils-8.15/tests/init.cfg +++ stderr_fileno_=9 +++ sanitize_path_ +++ local 'saved_IFS= ' +++ IFS=: +++ set -- /appl/archives/build_tools/tools/build/coreutils-8.15/src /usr/xpg4/bin /appl/gfpip/local/bin /usr/local/lib /usr/localcw/bin /appl/gfpip/current/rootbin /sbin /usr/bin /usr/localcw/bin /usr/sbin /usr/local/bin /usr/local/sbin /opt/perl5/bin /opt/OV/bin /opt/SUNWspro/bin /usr/local/scme /opt/InCharge7/SAM/smarts/bin /usr/sfw/bin /usr/sfw/sbin /usr/ccs/bin /usr/ucb /usr/openwin/bin /usr/localcw/sbin /opt/VRTSvlic/bin /opt/VRTS/bin /opt/SUNWexplo/bin /opt/perf/bin /appl/gfpip/current/bin +++ IFS=' ' +++ local d d1 +++ local colon= +++ local new_path= +++ for d in '"$@"' +++ test -z /appl/archives/build_tools/tools/build/coreutils-8.15/src +++ d1=/appl/archives/build_tools/tools/build/coreutils-8.15/src +++ ls -d /appl/archives/build_tools/tools/build/coreutils-8.15/src/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src +++ colon=: +++ for d in '"$@"' +++ test -z /usr/xpg4/bin +++ d1=/usr/xpg4/bin +++ ls -d /usr/xpg4/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin +++ colon=: +++ for d in '"$@"' +++ test -z /appl/gfpip/local/bin +++ d1=/appl/gfpip/local/bin +++ ls -d /appl/gfpip/local/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/local/lib +++ d1=/usr/local/lib +++ ls -d /usr/local/lib/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib +++ colon=: +++ for d in '"$@"' +++ test -z /usr/localcw/bin +++ d1=/usr/localcw/bin +++ ls -d /usr/localcw/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin +++ colon=: +++ for d in '"$@"' +++ test -z /appl/gfpip/current/rootbin +++ d1=/appl/gfpip/current/rootbin +++ ls -d /appl/gfpip/current/rootbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin +++ colon=: +++ for d in '"$@"' +++ test -z /sbin +++ d1=/sbin +++ ls -d /sbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/bin +++ d1=/usr/bin +++ ls -d /usr/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/localcw/bin +++ d1=/usr/localcw/bin +++ ls -d /usr/localcw/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/sbin +++ d1=/usr/sbin +++ ls -d /usr/sbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/local/bin +++ d1=/usr/local/bin +++ ls -d /usr/local/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/local/sbin +++ d1=/usr/local/sbin +++ ls -d /usr/local/sbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/perl5/bin +++ d1=/opt/perl5/bin +++ ls -d /opt/perl5/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/OV/bin +++ d1=/opt/OV/bin +++ ls -d /opt/OV/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/SUNWspro/bin +++ d1=/opt/SUNWspro/bin +++ ls -d /opt/SUNWspro/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/local/scme +++ d1=/usr/local/scme +++ ls -d /usr/local/scme/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme +++ colon=: +++ for d in '"$@"' +++ test -z /opt/InCharge7/SAM/smarts/bin +++ d1=/opt/InCharge7/SAM/smarts/bin +++ ls -d /opt/InCharge7/SAM/smarts/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/sfw/bin +++ d1=/usr/sfw/bin +++ ls -d /usr/sfw/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/sfw/sbin +++ d1=/usr/sfw/sbin +++ ls -d /usr/sfw/sbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/ccs/bin +++ d1=/usr/ccs/bin +++ ls -d /usr/ccs/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/ucb +++ d1=/usr/ucb +++ ls -d /usr/ucb/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb +++ colon=: +++ for d in '"$@"' +++ test -z /usr/openwin/bin +++ d1=/usr/openwin/bin +++ ls -d /usr/openwin/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin +++ colon=: +++ for d in '"$@"' +++ test -z /usr/localcw/sbin +++ d1=/usr/localcw/sbin +++ ls -d /usr/localcw/sbin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/VRTSvlic/bin +++ d1=/opt/VRTSvlic/bin +++ ls -d /opt/VRTSvlic/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/VRTS/bin +++ d1=/opt/VRTS/bin +++ ls -d /opt/VRTS/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/SUNWexplo/bin +++ d1=/opt/SUNWexplo/bin +++ ls -d /opt/SUNWexplo/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin +++ colon=: +++ for d in '"$@"' +++ test -z /opt/perf/bin +++ d1=/opt/perf/bin +++ ls -d /opt/perf/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin +++ colon=: +++ for d in '"$@"' +++ test -z /appl/gfpip/current/bin +++ d1=/appl/gfpip/current/bin +++ ls -d /appl/gfpip/current/bin/. +++ new_path=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin +++ colon=: +++ for d in /sbin /usr/sbin +++ case ":$new_path:" in +++ for d in /sbin /usr/sbin +++ case ":$new_path:" in +++ PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin +++ export PATH ++ setup_ ++ test yes = yes ++ false ++ set -x ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-inotify-rotate.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-inotify-rotate.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-inotify-rotate.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'inotify-rotate: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'inotify-rotate: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' inotify-rotate: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'inotify-rotate: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-inotify-rotate.jsdO + exit 77 SKIP: tail-2/assert =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-assert.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-assert.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-assert.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'assert: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'assert: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' assert: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'assert: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert.7jYr + exit 77 SKIP: rm/hash ============= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-hash.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-hash.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-hash.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:02 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'hash: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'hash: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' hash: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'hash: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-hash.kXp0 + exit 77 SKIP: rm/many-dir-entries-vs-OOM ================================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-many-dir-entries-vs-OOM.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-many-dir-entries-vs-OOM.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-many-dir-entries-vs-OOM.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:03 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm du chmod + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + for i in '$*' + env du --version du (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. + for i in '$*' + env chmod --version chmod (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie and Jim Meyering. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'many-dir-entries-vs-OOM: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'many-dir-entries-vs-OOM: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' many-dir-entries-vs-OOM: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'many-dir-entries-vs-OOM: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-many-dir-entries-vs-OOM.wLCU + exit 77 SKIP: misc/seq-long-double ========================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-seq-long-double.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-seq-long-double.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-seq-long-double.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:03 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ seq + test yes = yes + local i + for i in '$*' + env seq --version seq (GNU coreutils) 8.15 Copyright (C) 2012 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 Ulrich Drepper. + getlimits_ ++ getlimits + eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 LONG_MAX=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 UID_T_MAX=2147483647 UID_T_OFLOW=2147483648 GID_T_MAX=2147483647 GID_T_OFLOW=2147483648 PID_T_MAX=2147483647 PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616 FLT_MIN=1.175494e-38 FLT_MAX=3.402823e+38 DBL_MIN=2.225074e-308 DBL_MAX=1.797693e+308 LDBL_MIN=3.362103e-4932 LDBL_MAX=1.189731e+4932 ++ CHAR_MAX=127 ++ CHAR_OFLOW=128 ++ CHAR_MIN=-128 ++ CHAR_UFLOW=-129 ++ SCHAR_MAX=127 ++ SCHAR_OFLOW=128 ++ SCHAR_MIN=-128 ++ SCHAR_UFLOW=-129 ++ UCHAR_MAX=255 ++ UCHAR_OFLOW=256 ++ SHRT_MAX=32767 ++ SHRT_OFLOW=32768 ++ SHRT_MIN=-32768 ++ SHRT_UFLOW=-32769 ++ INT_MAX=2147483647 ++ INT_OFLOW=2147483648 ++ INT_MIN=-2147483648 ++ INT_UFLOW=-2147483649 ++ UINT_MAX=4294967295 ++ UINT_OFLOW=4294967296 ++ LONG_MAX=9223372036854775807 ++ LONG_OFLOW=9223372036854775808 ++ LONG_MIN=-9223372036854775808 ++ LONG_UFLOW=-9223372036854775809 ++ ULONG_MAX=18446744073709551615 ++ ULONG_OFLOW=18446744073709551616 ++ SIZE_MAX=18446744073709551615 ++ SIZE_OFLOW=18446744073709551616 ++ SSIZE_MAX=9223372036854775807 ++ SSIZE_OFLOW=9223372036854775808 ++ SSIZE_MIN=-9223372036854775808 ++ SSIZE_UFLOW=-9223372036854775809 ++ TIME_T_MAX=9223372036854775807 ++ TIME_T_OFLOW=9223372036854775808 ++ TIME_T_MIN=-9223372036854775808 ++ TIME_T_UFLOW=-9223372036854775809 ++ UID_T_MAX=2147483647 ++ UID_T_OFLOW=2147483648 ++ GID_T_MAX=2147483647 ++ GID_T_OFLOW=2147483648 ++ PID_T_MAX=2147483647 ++ PID_T_OFLOW=2147483648 ++ PID_T_MIN=-2147483648 ++ PID_T_UFLOW=-2147483649 ++ OFF_T_MAX=9223372036854775807 ++ OFF_T_OFLOW=9223372036854775808 ++ OFF_T_MIN=-9223372036854775808 ++ OFF_T_UFLOW=-9223372036854775809 ++ INTMAX_MAX=9223372036854775807 ++ INTMAX_OFLOW=9223372036854775808 ++ INTMAX_MIN=-9223372036854775808 ++ INTMAX_UFLOW=-9223372036854775809 ++ UINTMAX_MAX=18446744073709551615 ++ UINTMAX_OFLOW=18446744073709551616 ++ FLT_MIN=1.175494e-38 ++ FLT_MAX=3.402823e+38 ++ DBL_MIN=2.225074e-308 ++ DBL_MAX=1.797693e+308 ++ LDBL_MIN=3.362103e-4932 ++ LDBL_MAX=1.189731e+4932 + test 2147483647 + cat + gcc -std=gnu99 -c long.c long.c:1:22: features.h: No such file or directory long.c:5: error: syntax error before string constant + skip_ 'this test runs only on systems with glibc and long double != double' + warn_ 'seq-long-double: skipped test: this test runs only on systems with glibc and long double != double' + case $IFS in + printf '%s\n' 'seq-long-double: skipped test: this test runs only on systems with glibc and long double != double' seq-long-double: skipped test: this test runs only on systems with glibc and long double != double + test 9 = 2 + printf '%s\n' 'seq-long-double: skipped test: this test runs only on systems with glibc and long double != double' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-seq-long-double.Biix + exit 77 SKIP: tail-2/tail-n0f ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-tail-n0f.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-tail-n0f.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-tail-n0f.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:03 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + require_proc_pid_status_ + local pid=1653 + sleep .5 + sleep 2 + grep '^State:[ ]*[S]' /proc/1653/status + skip_ '/proc/1653/status: missing or '\''different'\''' + warn_ 'tail-n0f: skipped test: /proc/1653/status: missing or '\''different'\''' + case $IFS in + printf '%s\n' 'tail-n0f: skipped test: /proc/1653/status: missing or '\''different'\''' tail-n0f: skipped test: /proc/1653/status: missing or 'different' + test 9 = 2 + printf '%s\n' 'tail-n0f: skipped test: /proc/1653/status: missing or '\''different'\''' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tail-n0f.pNbL + exit 77 SKIP: misc/arch =============== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-arch.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-arch.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-arch.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:03 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ arch + test yes = yes + local i + for i in '$*' + env arch --version + require_built_ arch + skip_=no + for i in '"$@"' + case " $built_programs " in + echo 'arch: not built' arch: not built + skip_=yes + test yes = yes + skip_ 'required program(s) not built' + warn_ 'arch: skipped test: required program(s) not built' + case $IFS in + printf '%s\n' 'arch: skipped test: required program(s) not built' arch: skipped test: required program(s) not built + test 9 = 2 + printf '%s\n' 'arch: skipped test: required program(s) not built' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-arch.8Dxi + exit 77 SKIP: misc/cat-proc =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cat-proc.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-cat-proc.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cat-proc.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:03 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cat + test yes = yes + local i + for i in '$*' + env cat --version cat (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund and Richard M. Stallman. + f=/proc/cpuinfo + test -f /proc/cpuinfo + skip_ 'no /proc/cpuinfo' + warn_ 'cat-proc: skipped test: no /proc/cpuinfo' + case $IFS in + printf '%s\n' 'cat-proc: skipped test: no /proc/cpuinfo' cat-proc: skipped test: no /proc/cpuinfo + test 9 = 2 + printf '%s\n' 'cat-proc: skipped test: no /proc/cpuinfo' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cat-proc.QqrU + exit 77 SKIP: misc/id-context ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-id-context.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-id-context.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-id-context.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:04 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ id + test yes = yes + local i + for i in '$*' + env id --version id (GNU coreutils) 8.15 Copyright (C) 2012 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 Arnold Robbins and David MacKenzie. + require_selinux_ + grep 'selinuxfs$' /proc/filesystems grep: can't open "/proc/filesystems" + skip_ 'this system lacks SELinux support' + warn_ 'id-context: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'id-context: skipped test: this system lacks SELinux support' id-context: skipped test: this system lacks SELinux support + test 9 = 2 + printf '%s\n' 'id-context: skipped test: this system lacks SELinux support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-id-context.PkAA + exit 77 SKIP: misc/sort-benchmark-random ================================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-benchmark-random.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-benchmark-random.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-benchmark-random.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'sort-benchmark-random: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'sort-benchmark-random: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' sort-benchmark-random: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'sort-benchmark-random: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-benchmark-random.lA9N + exit 77 SKIP: misc/sort-compress-hang ============================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-compress-hang.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-compress-hang.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-compress-hang.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'sort-compress-hang: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'sort-compress-hang: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' sort-compress-hang: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'sort-compress-hang: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-hang.zobI + exit 77 SKIP: misc/sort-compress-proc ============================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-compress-proc.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-compress-proc.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-compress-proc.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'sort-compress-proc: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'sort-compress-proc: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' sort-compress-proc: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'sort-compress-proc: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-compress-proc.B99C + exit 77 SKIP: misc/sort-month ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-month.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-month.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-month.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + locale --version + skip_ 'The locale utility is not present' + warn_ 'sort-month: skipped test: The locale utility is not present' + case $IFS in + printf '%s\n' 'sort-month: skipped test: The locale utility is not present' sort-month: skipped test: The locale utility is not present + test 9 = 2 + printf '%s\n' 'sort-month: skipped test: The locale utility is not present' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-month.ngne + exit 77 SKIP: misc/sort-spinlock-abuse ============================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-spinlock-abuse.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-spinlock-abuse.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-spinlock-abuse.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'sort-spinlock-abuse: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'sort-spinlock-abuse: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' sort-spinlock-abuse: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'sort-spinlock-abuse: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-spinlock-abuse.dp4U + exit 77 SKIP: misc/sort-stale-thread-mem ================================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-stale-thread-mem.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sort-stale-thread-mem.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sort-stale-thread-mem.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ sort + test yes = yes + local i + for i in '$*' + env sort --version sort (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Haertel and Paul Eggert. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'sort-stale-thread-mem: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'sort-stale-thread-mem: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' sort-stale-thread-mem: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'sort-stale-thread-mem: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sort-stale-thread-mem.zfoA + exit 77 SKIP: misc/stat-nanoseconds =========================== /appl/archives/build_tools/tools/src/coreutils-8.15/tests/misc/stat-nanoseconds: line 19: print_ver_: command not found ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-nanoseconds.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-stat-nanoseconds.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-nanoseconds.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + TZ=UTC0 + export TZ + touch -d '1970-01-01 18:43:33.023456789' k + ls --full-time + grep 18:43:33.023456789 + skip_ this file system does not support sub-second time stamps + warn_ 'stat-nanoseconds: skipped test: this' file system does not support sub-second time stamps + case $IFS in + printf '%s\n' 'stat-nanoseconds: skipped test: this file system does not support sub-second time stamps' stat-nanoseconds: skipped test: this file system does not support sub-second time stamps + test 9 = 2 + printf '%s\n' 'stat-nanoseconds: skipped test: this file system does not support sub-second time stamps' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-nanoseconds.rTvj + exit 77 FAIL: misc/stdbuf ================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stdbuf.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-stdbuf.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stdbuf.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:05 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.i-9x' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ stdbuf mv + test yes = yes + local i + for i in '$*' + env stdbuf --version stdbuf (GNU coreutils) 8.15 Copyright (C) 2012 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 P'adraig Brady. + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + getlimits_ ++ getlimits + eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 LONG_MAX=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 UID_T_MAX=2147483647 UID_T_OFLOW=2147483648 GID_T_MAX=2147483647 GID_T_OFLOW=2147483648 PID_T_MAX=2147483647 PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616 FLT_MIN=1.175494e-38 FLT_MAX=3.402823e+38 DBL_MIN=2.225074e-308 DBL_MAX=1.797693e+308 LDBL_MIN=3.362103e-4932 LDBL_MAX=1.189731e+4932 ++ CHAR_MAX=127 ++ CHAR_OFLOW=128 ++ CHAR_MIN=-128 ++ CHAR_UFLOW=-129 ++ SCHAR_MAX=127 ++ SCHAR_OFLOW=128 ++ SCHAR_MIN=-128 ++ SCHAR_UFLOW=-129 ++ UCHAR_MAX=255 ++ UCHAR_OFLOW=256 ++ SHRT_MAX=32767 ++ SHRT_OFLOW=32768 ++ SHRT_MIN=-32768 ++ SHRT_UFLOW=-32769 ++ INT_MAX=2147483647 ++ INT_OFLOW=2147483648 ++ INT_MIN=-2147483648 ++ INT_UFLOW=-2147483649 ++ UINT_MAX=4294967295 ++ UINT_OFLOW=4294967296 ++ LONG_MAX=9223372036854775807 ++ LONG_OFLOW=9223372036854775808 ++ LONG_MIN=-9223372036854775808 ++ LONG_UFLOW=-9223372036854775809 ++ ULONG_MAX=18446744073709551615 ++ ULONG_OFLOW=18446744073709551616 ++ SIZE_MAX=18446744073709551615 ++ SIZE_OFLOW=18446744073709551616 ++ SSIZE_MAX=9223372036854775807 ++ SSIZE_OFLOW=9223372036854775808 ++ SSIZE_MIN=-9223372036854775808 ++ SSIZE_UFLOW=-9223372036854775809 ++ TIME_T_MAX=9223372036854775807 ++ TIME_T_OFLOW=9223372036854775808 ++ TIME_T_MIN=-9223372036854775808 ++ TIME_T_UFLOW=-9223372036854775809 ++ UID_T_MAX=2147483647 ++ UID_T_OFLOW=2147483648 ++ GID_T_MAX=2147483647 ++ GID_T_OFLOW=2147483648 ++ PID_T_MAX=2147483647 ++ PID_T_OFLOW=2147483648 ++ PID_T_MIN=-2147483648 ++ PID_T_UFLOW=-2147483649 ++ OFF_T_MAX=9223372036854775807 ++ OFF_T_OFLOW=9223372036854775808 ++ OFF_T_MIN=-9223372036854775808 ++ OFF_T_UFLOW=-9223372036854775809 ++ INTMAX_MAX=9223372036854775807 ++ INTMAX_OFLOW=9223372036854775808 ++ INTMAX_MIN=-9223372036854775808 ++ INTMAX_UFLOW=-9223372036854775809 ++ UINTMAX_MAX=18446744073709551615 ++ UINTMAX_OFLOW=18446744073709551616 ++ FLT_MIN=1.175494e-38 ++ FLT_MAX=3.402823e+38 ++ DBL_MIN=2.225074e-308 ++ DBL_MAX=1.797693e+308 ++ LDBL_MIN=3.362103e-4932 ++ LDBL_MAX=1.189731e+4932 + test 2147483647 + require_built_ stdbuf + skip_=no + for i in '"$@"' + case " $built_programs " in + test no = yes + lf=' ' + case $abs_top_builddir in + mkfifo_or_skip_ fifo + test 1 = 1 + mkfifo fifo + stdbuf -o1 true + stdbuf -oK true + stdbuf -o0 true + stdbuf -oL true + stdbuf -ol true stdbuf: invalid mode `l' + test 125 = 125 + stdbuf -o18446744073709551616 true stdbuf: invalid mode `18446744073709551616': Value too large for defined data type + test 125 = 125 + stdbuf -iL true stdbuf: line buffering stdin is meaningless Try `stdbuf --help' for more information. + test 125 = 125 + stdbuf -i0 -o0 -e0 true + stdbuf -o1 . stdbuf: failed to run command `.': Permission denied + test 126 = 126 + stdbuf -o1 no_such stdbuf: failed to run command `no_such': No such file or directory + test 127 = 127 + retry_delay_ stdbuf_linebuffer .1 6 + local test_func=stdbuf_linebuffer + local init_delay=.1 + local max_n_tries=6 + local attempt=1 + local num_sleeps=1 + local time_fail + test 1 -le 6 ++ nawk -v n=1 -v s=.1 'BEGIN { print s * n }' + local delay=0.1 + stdbuf_linebuffer 0.1 + local delay=0.1 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.1 + stdbuf -oL uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:46 2012 +++ out Sun Jan 29 17:05:46 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 1 + 1 + attempt=2 ++ expr 1 '*' 2 + num_sleeps=2 + test 2 -le 6 ++ nawk -v n=2 -v s=.1 'BEGIN { print s * n }' + local delay=0.2 + stdbuf_linebuffer 0.2 + local delay=0.2 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + stdbuf -oL uniq + sleep 0.2 + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:46 2012 +++ out Sun Jan 29 17:05:47 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 2 + 1 + attempt=3 ++ expr 2 '*' 2 + num_sleeps=4 + test 3 -le 6 ++ nawk -v n=4 -v s=.1 'BEGIN { print s * n }' + local delay=0.4 + stdbuf_linebuffer 0.4 + local delay=0.4 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.4 + stdbuf -oL uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:47 2012 +++ out Sun Jan 29 17:05:47 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 3 + 1 + attempt=4 ++ expr 4 '*' 2 + num_sleeps=8 + test 4 -le 6 ++ nawk -v n=8 -v s=.1 'BEGIN { print s * n }' + local delay=0.8 + stdbuf_linebuffer 0.8 + local delay=0.8 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.8 + stdbuf -oL uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:47 2012 +++ out Sun Jan 29 17:05:48 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 4 + 1 + attempt=5 ++ expr 8 '*' 2 + num_sleeps=16 + test 5 -le 6 ++ nawk -v n=16 -v s=.1 'BEGIN { print s * n }' + local delay=1.6 + stdbuf_linebuffer 1.6 + local delay=1.6 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 1.6 + stdbuf -oL uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:48 2012 +++ out Sun Jan 29 17:05:50 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 5 + 1 + attempt=6 ++ expr 16 '*' 2 + num_sleeps=32 + test 6 -le 6 ++ nawk -v n=32 -v s=.1 'BEGIN { print s * n }' + local delay=3.2 + stdbuf_linebuffer 3.2 + local delay=3.2 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 3.2 + stdbuf -oL uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:50 2012 +++ out Sun Jan 29 17:05:53 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 6 + 1 + attempt=7 ++ expr 32 '*' 2 + num_sleeps=64 + test 7 -le 6 + test 1 = 0 + fail=1 + retry_delay_ stdbuf_unbuffer .1 6 + local test_func=stdbuf_unbuffer + local init_delay=.1 + local max_n_tries=6 + local attempt=1 + local num_sleeps=1 + local time_fail + test 1 -le 6 ++ nawk -v n=1 -v s=.1 'BEGIN { print s * n }' + local delay=0.1 + stdbuf_unbuffer 0.1 + local delay=0.1 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.1 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:53 2012 +++ out Sun Jan 29 17:05:53 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 1 + 1 + attempt=2 ++ expr 1 '*' 2 + num_sleeps=2 + test 2 -le 6 ++ nawk -v n=2 -v s=.1 'BEGIN { print s * n }' + local delay=0.2 + stdbuf_unbuffer 0.2 + local delay=0.2 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.2 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:53 2012 +++ out Sun Jan 29 17:05:53 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 2 + 1 + attempt=3 ++ expr 2 '*' 2 + num_sleeps=4 + test 3 -le 6 ++ nawk -v n=4 -v s=.1 'BEGIN { print s * n }' + local delay=0.4 + stdbuf_unbuffer 0.4 + local delay=0.4 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.4 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:53 2012 +++ out Sun Jan 29 17:05:54 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 3 + 1 + attempt=4 ++ expr 4 '*' 2 + num_sleeps=8 + test 4 -le 6 ++ nawk -v n=8 -v s=.1 'BEGIN { print s * n }' + local delay=0.8 + stdbuf_unbuffer 0.8 + local delay=0.8 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 0.8 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:54 2012 +++ out Sun Jan 29 17:05:55 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 4 + 1 + attempt=5 ++ expr 8 '*' 2 + num_sleeps=16 + test 5 -le 6 ++ nawk -v n=16 -v s=.1 'BEGIN { print s * n }' + local delay=1.6 + stdbuf_unbuffer 1.6 + local delay=1.6 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 1.6 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:55 2012 +++ out Sun Jan 29 17:05:56 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 5 + 1 + attempt=6 ++ expr 16 '*' 2 + num_sleeps=32 + test 6 -le 6 ++ nawk -v n=32 -v s=.1 'BEGIN { print s * n }' + local delay=3.2 + stdbuf_unbuffer 3.2 + local delay=3.2 + printf '1\n' + dd count=1 if=fifo + printf '1\n' + sleep 3.2 + stdbuf -o0 uniq + printf '2\n' + wait + compare exp out + compare_dev_null_ exp out + test 2 = 2 + test xexp = x/dev/null + test xout = x/dev/null + return 2 + case $? in + compare_ exp out + diff -u exp out + cat diff.out --- exp Sun Jan 29 17:05:56 2012 +++ out Sun Jan 29 17:06:00 2012 @@ -1,1 +1,2 @@ 1 +2 + rm -f diff.out + false + time_fail=1 ++ expr 6 + 1 + attempt=7 ++ expr 32 '*' 2 + num_sleeps=64 + test 7 -le 6 + test 1 = 0 + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stdbuf.iS9x + exit 1 SKIP: misc/su-fail ================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-su-fail.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-su-fail.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-su-fail.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ su + test yes = yes + local i + for i in '$*' + env su --version su (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + require_built_ su + skip_=no + for i in '"$@"' + case " $built_programs " in + echo 'su: not built' su: not built + skip_=yes + test yes = yes + skip_ 'required program(s) not built' + warn_ 'su-fail: skipped test: required program(s) not built' + case $IFS in + printf '%s\n' 'su-fail: skipped test: required program(s) not built' su-fail: skipped test: required program(s) not built + test 9 = 2 + printf '%s\n' 'su-fail: skipped test: required program(s) not built' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-su-fail.RXXN + exit 77 SKIP: misc/tac-continue ======================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-tac-continue.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-tac-continue.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-tac-continue.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tac + test yes = yes + local i + for i in '$*' + env tac --version tac (GNU coreutils) 8.15 Copyright (C) 2012 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 Jay Lepreau and David MacKenzie. + test x = x + skip_ 'FULL_PARTITION_TMPDIR not defined' + warn_ 'tac-continue: skipped test: FULL_PARTITION_TMPDIR not defined' + case $IFS in + printf '%s\n' 'tac-continue: skipped test: FULL_PARTITION_TMPDIR not defined' tac-continue: skipped test: FULL_PARTITION_TMPDIR not defined + test 9 = 2 + printf '%s\n' 'tac-continue: skipped test: FULL_PARTITION_TMPDIR not defined' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-tac-continue.9mcL + exit 77 SKIP: misc/timeout-group ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-timeout-group.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-timeout-group.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-timeout-group.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ timeout + test yes = yes + local i + for i in '$*' + env timeout --version timeout (GNU coreutils) 8.15 Copyright (C) 2012 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 P'adraig Brady. + setsid true /appl/archives/build_tools/tools/src/coreutils-8.15/tests/misc/timeout-group: line 31: setsid: command not found + skip_ 'setsid required to control groups' + warn_ 'timeout-group: skipped test: setsid required to control groups' + case $IFS in + printf '%s\n' 'timeout-group: skipped test: setsid required to control groups' timeout-group: skipped test: setsid required to control groups + test 9 = 2 + printf '%s\n' 'timeout-group: skipped test: setsid required to control groups' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-group.lgY8 + exit 77 FAIL: misc/timeout-parameters ============================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-timeout-parameters.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-timeout-parameters.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-timeout-parameters.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ timeout + test yes = yes + local i + for i in '$*' + env timeout --version timeout (GNU coreutils) 8.15 Copyright (C) 2012 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 P'adraig Brady. + getlimits_ ++ getlimits + eval CHAR_MAX=127 CHAR_OFLOW=128 CHAR_MIN=-128 CHAR_UFLOW=-129 SCHAR_MAX=127 SCHAR_OFLOW=128 SCHAR_MIN=-128 SCHAR_UFLOW=-129 UCHAR_MAX=255 UCHAR_OFLOW=256 SHRT_MAX=32767 SHRT_OFLOW=32768 SHRT_MIN=-32768 SHRT_UFLOW=-32769 INT_MAX=2147483647 INT_OFLOW=2147483648 INT_MIN=-2147483648 INT_UFLOW=-2147483649 UINT_MAX=4294967295 UINT_OFLOW=4294967296 LONG_MAX=9223372036854775807 LONG_OFLOW=9223372036854775808 LONG_MIN=-9223372036854775808 LONG_UFLOW=-9223372036854775809 ULONG_MAX=18446744073709551615 ULONG_OFLOW=18446744073709551616 SIZE_MAX=18446744073709551615 SIZE_OFLOW=18446744073709551616 SSIZE_MAX=9223372036854775807 SSIZE_OFLOW=9223372036854775808 SSIZE_MIN=-9223372036854775808 SSIZE_UFLOW=-9223372036854775809 TIME_T_MAX=9223372036854775807 TIME_T_OFLOW=9223372036854775808 TIME_T_MIN=-9223372036854775808 TIME_T_UFLOW=-9223372036854775809 UID_T_MAX=2147483647 UID_T_OFLOW=2147483648 GID_T_MAX=2147483647 GID_T_OFLOW=2147483648 PID_T_MAX=2147483647 PID_T_OFLOW=2147483648 PID_T_MIN=-2147483648 PID_T_UFLOW=-2147483649 OFF_T_MAX=9223372036854775807 OFF_T_OFLOW=9223372036854775808 OFF_T_MIN=-9223372036854775808 OFF_T_UFLOW=-9223372036854775809 INTMAX_MAX=9223372036854775807 INTMAX_OFLOW=9223372036854775808 INTMAX_MIN=-9223372036854775808 INTMAX_UFLOW=-9223372036854775809 UINTMAX_MAX=18446744073709551615 UINTMAX_OFLOW=18446744073709551616 FLT_MIN=1.175494e-38 FLT_MAX=3.402823e+38 DBL_MIN=2.225074e-308 DBL_MAX=1.797693e+308 LDBL_MIN=3.362103e-4932 LDBL_MAX=1.189731e+4932 ++ CHAR_MAX=127 ++ CHAR_OFLOW=128 ++ CHAR_MIN=-128 ++ CHAR_UFLOW=-129 ++ SCHAR_MAX=127 ++ SCHAR_OFLOW=128 ++ SCHAR_MIN=-128 ++ SCHAR_UFLOW=-129 ++ UCHAR_MAX=255 ++ UCHAR_OFLOW=256 ++ SHRT_MAX=32767 ++ SHRT_OFLOW=32768 ++ SHRT_MIN=-32768 ++ SHRT_UFLOW=-32769 ++ INT_MAX=2147483647 ++ INT_OFLOW=2147483648 ++ INT_MIN=-2147483648 ++ INT_UFLOW=-2147483649 ++ UINT_MAX=4294967295 ++ UINT_OFLOW=4294967296 ++ LONG_MAX=9223372036854775807 ++ LONG_OFLOW=9223372036854775808 ++ LONG_MIN=-9223372036854775808 ++ LONG_UFLOW=-9223372036854775809 ++ ULONG_MAX=18446744073709551615 ++ ULONG_OFLOW=18446744073709551616 ++ SIZE_MAX=18446744073709551615 ++ SIZE_OFLOW=18446744073709551616 ++ SSIZE_MAX=9223372036854775807 ++ SSIZE_OFLOW=9223372036854775808 ++ SSIZE_MIN=-9223372036854775808 ++ SSIZE_UFLOW=-9223372036854775809 ++ TIME_T_MAX=9223372036854775807 ++ TIME_T_OFLOW=9223372036854775808 ++ TIME_T_MIN=-9223372036854775808 ++ TIME_T_UFLOW=-9223372036854775809 ++ UID_T_MAX=2147483647 ++ UID_T_OFLOW=2147483648 ++ GID_T_MAX=2147483647 ++ GID_T_OFLOW=2147483648 ++ PID_T_MAX=2147483647 ++ PID_T_OFLOW=2147483648 ++ PID_T_MIN=-2147483648 ++ PID_T_UFLOW=-2147483649 ++ OFF_T_MAX=9223372036854775807 ++ OFF_T_OFLOW=9223372036854775808 ++ OFF_T_MIN=-9223372036854775808 ++ OFF_T_UFLOW=-9223372036854775809 ++ INTMAX_MAX=9223372036854775807 ++ INTMAX_OFLOW=9223372036854775808 ++ INTMAX_MIN=-9223372036854775808 ++ INTMAX_UFLOW=-9223372036854775809 ++ UINTMAX_MAX=18446744073709551615 ++ UINTMAX_OFLOW=18446744073709551616 ++ FLT_MIN=1.175494e-38 ++ FLT_MAX=3.402823e+38 ++ DBL_MIN=2.225074e-308 ++ DBL_MAX=1.797693e+308 ++ LDBL_MIN=3.362103e-4932 ++ LDBL_MAX=1.189731e+4932 + test 2147483647 + timeout invalid sleep 0 timeout: invalid time interval `invalid' Try `timeout --help' for more information. + test 125 = 125 + timeout --kill-after=invalid 1 sleep 0 timeout: invalid time interval `invalid' Try `timeout --help' for more information. + test 125 = 125 + timeout 42D sleep 0 timeout: invalid time interval `42D' Try `timeout --help' for more information. + test 125 = 125 +++ date +%s ++ expr 9223372036854775807 - 1327856779 + 100 + KERNEL_OVERFLOW_LIMIT=9223372035526919128 + timeout 9223372035526919128 sleep 0 + test 0 '!=' 124 + timeout 4294967296 sleep 0 + test 0 = 0 ++ expr 4294967295 / 86400 + 1 + timeout 49711d sleep 0 + test 0 = 0 + timeout 999999999999999999999999999999999999999999999999999999999999d sleep 0 + test 124 = 0 + fail=1 + timeout 2.34e+5d sleep 0 + test 0 = 0 + timeout 2.34 sleep 0 + test 0 = 0 + timeout .999999999 sleep 0 + timeout --signal=invalid 1 sleep 0 timeout: invalid: invalid signal Try `timeout --help' for more information. + test 125 = 125 + timeout 10 . timeout: failed to run command `.': Permission denied + test 126 = 126 + timeout 10 no_such timeout: failed to run command `no_such': No such file or directory + test 127 = 127 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-timeout-parameters.a2oE + exit 1 SKIP: misc/tty-eof ================== tty-eof: this script requires Perl's Expect package >=1.11 SKIP: misc/uniq =============== uniq: skipping this test -- no appropriate locale SKIP: misc/xattr ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-xattr.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-xattr.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-xattr.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp mv ginstall + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + for i in '$*' + env ginstall --version install (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + touch src dest + cp --preserve=xattr -n src dest cp: cannot preserve extended attributes, cp is built without xattr support + skip_ 'coreutils built without xattr support' + warn_ 'xattr: skipped test: coreutils built without xattr support' + case $IFS in + printf '%s\n' 'xattr: skipped test: coreutils built without xattr support' xattr: skipped test: coreutils built without xattr support + test 9 = 2 + printf '%s\n' 'xattr: skipped test: coreutils built without xattr support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-xattr.Mfyg + exit 77 SKIP: chmod/c-option ==================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-c-option.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-c-option.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-c-option.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chmod + test yes = yes + local i + for i in '$*' + env chmod --version chmod (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie and Jim Meyering. + umask 0 + file=f + touch f + chmod 444 f + skip_if_setgid_ + setgid_tmpdir=setgid-6663 + umask 77 + mkdir setgid-6663 ++ stat --printf %A setgid-6663 + perms=drwx--S--- + rmdir setgid-6663 + case $perms in + skip_ 'this directory has the setgid bit set' + warn_ 'c-option: skipped test: this directory has the setgid bit set' + case $IFS in + printf '%s\n' 'c-option: skipped test: this directory has the setgid bit set' c-option: skipped test: this directory has the setgid bit set + test 9 = 2 + printf '%s\n' 'c-option: skipped test: this directory has the setgid bit set' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-c-option.5Nli + exit 77 SKIP: cp/acl ============ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-acl.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-acl.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-acl.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv getfacl setfacl + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + for i in '$*' + env getfacl --version getfacl: illegal option -- version usage: getfacl [-ad] file ... + for i in '$*' + env setfacl --version usage: setfacl [-r] -f aclfile file ... setfacl [-r] -d acl_entries file ... setfacl [-r] -m acl_entries file ... setfacl [-r] -s acl_entries file ... + require_acl_ + getfacl --version + skip_ 'This test requires getfacl and setfacl.' + warn_ 'acl: skipped test: This test requires getfacl and setfacl.' + case $IFS in + printf '%s\n' 'acl: skipped test: This test requires getfacl and setfacl.' acl: skipped test: This test requires getfacl and setfacl. + test 9 = 2 + printf '%s\n' 'acl: skipped test: This test requires getfacl and setfacl.' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.m3Ro + exit 77 SKIP: cp/cp-parents =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-parents.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-cp-parents.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-parents.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:06 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + working_umask_or_skip_ + umask 022 + touch file1 file2 + chmod 644 file2 ++ ls -l file1 file2 ++ sed 's/ .*//' ++ uniq + perms=-rw-r--r-- + rm -f file1 file2 + case $perms in + skip_if_setgid_ + setgid_tmpdir=setgid-9294 + umask 77 + mkdir setgid-9294 ++ stat --printf %A setgid-9294 + perms=drwx--S--- + rmdir setgid-9294 + case $perms in + skip_ 'this directory has the setgid bit set' + warn_ 'cp-parents: skipped test: this directory has the setgid bit set' + case $IFS in + printf '%s\n' 'cp-parents: skipped test: this directory has the setgid bit set' cp-parents: skipped test: this directory has the setgid bit set + test 9 = 2 + printf '%s\n' 'cp-parents: skipped test: this directory has the setgid bit set' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-parents.CQo5 + exit 77 SKIP: cp/fiemap-empty ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-empty.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-fiemap-empty.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-empty.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + skip_ 'disabled for now' + warn_ 'fiemap-empty: skipped test: disabled for now' + case $IFS in + printf '%s\n' 'fiemap-empty: skipped test: disabled for now' fiemap-empty: skipped test: disabled for now + test 9 = 2 + printf '%s\n' 'fiemap-empty: skipped test: disabled for now' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-empty.mDBO + exit 77 SKIP: cp/fiemap-perf ==================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-perf.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-fiemap-perf.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-perf.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + touch fiemap_chk + fiemap_capable_ fiemap_chk + python + python /appl/archives/build_tools/tools/src/coreutils-8.15/tests/fiemap-capable fiemap_chk + skip_ 'this file system lacks FIEMAP support' + warn_ 'fiemap-perf: skipped test: this file system lacks FIEMAP support' + case $IFS in + printf '%s\n' 'fiemap-perf: skipped test: this file system lacks FIEMAP support' fiemap-perf: skipped test: this file system lacks FIEMAP support + test 9 = 2 + printf '%s\n' 'fiemap-perf: skipped test: this file system lacks FIEMAP support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-perf.ALs5 + exit 77 SKIP: cp/fiemap-2 ================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-2.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-fiemap-2.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fiemap-2.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + touch fiemap_chk + fiemap_capable_ fiemap_chk + python + python /appl/archives/build_tools/tools/src/coreutils-8.15/tests/fiemap-capable fiemap_chk + skip_ 'this file system lacks FIEMAP support' + warn_ 'fiemap-2: skipped test: this file system lacks FIEMAP support' + case $IFS in + printf '%s\n' 'fiemap-2: skipped test: this file system lacks FIEMAP support' fiemap-2: skipped test: this file system lacks FIEMAP support + test 9 = 2 + printf '%s\n' 'fiemap-2: skipped test: this file system lacks FIEMAP support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fiemap-2.He90 + exit 77 SKIP: cp/link-symlink ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-link-symlink.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-link-symlink.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-link-symlink.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + touch file + ln -s file link + touch -m -h -d 2011-01-01 link touch: setting times of `link': Operation not applicable + skip_ 'Your system doesn'\''t support updating symlink timestamps' + warn_ 'link-symlink: skipped test: Your system doesn'\''t support updating symlink timestamps' + case $IFS in + printf '%s\n' 'link-symlink: skipped test: Your system doesn'\''t support updating symlink timestamps' link-symlink: skipped test: Your system doesn't support updating symlink timestamps + test 9 = 2 + printf '%s\n' 'link-symlink: skipped test: Your system doesn'\''t support updating symlink timestamps' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-link-symlink.BxrX + exit 77 SKIP: cp/perm ============= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-perm.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-perm.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-perm.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp mv + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'perm: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'perm: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' perm: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'perm: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.xniR + exit 77 SKIP: cp/preserve-slink-time ============================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-preserve-slink-time.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-preserve-slink-time.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-preserve-slink-time.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.-ERM' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + grep '^#define HAVE_UTIMENSAT 1' /appl/archives/build_tools/tools/build/coreutils-8.15/lib/config.h + grep '^#define HAVE_LUTIMES 1' /appl/archives/build_tools/tools/build/coreutils-8.15/lib/config.h + skip_ 'this system lacks the utimensat function' + warn_ 'preserve-slink-time: skipped test: this system lacks the utimensat function' + case $IFS in + printf '%s\n' 'preserve-slink-time: skipped test: this system lacks the utimensat function' preserve-slink-time: skipped test: this system lacks the utimensat function + test 9 = 2 + printf '%s\n' 'preserve-slink-time: skipped test: this system lacks the utimensat function' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-slink-time.SERM + exit 77 SKIP: cp/proc-short-read ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-proc-short-read.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-proc-short-read.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-proc-short-read.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + kall=/proc/kallsyms + test -r /proc/kallsyms + skip_ 'your system lacks /proc/kallsyms' + warn_ 'proc-short-read: skipped test: your system lacks /proc/kallsyms' + case $IFS in + printf '%s\n' 'proc-short-read: skipped test: your system lacks /proc/kallsyms' proc-short-read: skipped test: your system lacks /proc/kallsyms + test 9 = 2 + printf '%s\n' 'proc-short-read: skipped test: your system lacks /proc/kallsyms' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-proc-short-read.vsUc + exit 77 SKIP: dd/direct =============== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-direct.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-direct.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-direct.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ dd + test yes = yes + local i + for i in '$*' + env dd --version dd (coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, and Stuart Kemp. + truncate -s 8192 in + dd if=in oflag=direct of=out + skip_ 'this file system lacks support for O_DIRECT' + warn_ 'direct: skipped test: this file system lacks support for O_DIRECT' + case $IFS in + printf '%s\n' 'direct: skipped test: this file system lacks support for O_DIRECT' direct: skipped test: this file system lacks support for O_DIRECT + test 9 = 2 + printf '%s\n' 'direct: skipped test: this file system lacks support for O_DIRECT' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-direct.jRyg + exit 77 SKIP: du/2g =========== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-2g.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-2g.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-2g.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ du + test yes = yes + local i + for i in '$*' + env du --version du (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ '2g: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' '2g: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' 2g: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' '2g: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-2g.QAGm + exit 77 SKIP: du/bigtime ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-bigtime.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-bigtime.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-bigtime.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + export LC_ALL=C + LC_ALL=C + export TZ=UTC0 + TZ=UTC0 + bignum=9223372036854775807 + touch -d @9223372036854775807 future + skip_ 'file system cannot represent big time stamps' + warn_ 'bigtime: skipped test: file system cannot represent big time stamps' + case $IFS in + printf '%s\n' 'bigtime: skipped test: file system cannot represent big time stamps' bigtime: skipped test: file system cannot represent big time stamps + test 9 = 2 + printf '%s\n' 'bigtime: skipped test: file system cannot represent big time stamps' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-bigtime.qFYU + exit 77 SKIP: du/fd-leak ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fd-leak.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-fd-leak.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fd-leak.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ du + test yes = yes + local i + for i in '$*' + env du --version du (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'fd-leak: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'fd-leak: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' fd-leak: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'fd-leak: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fd-leak.WpF2 + exit 77 SKIP: du/files0-from-dir ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-files0-from-dir.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-files0-from-dir.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-files0-from-dir.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ du wc + test yes = yes + local i + for i in '$*' + env du --version du (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. + for i in '$*' + env wc --version wc (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin and David MacKenzie. + mkdir dir + cat dir + skip_ 'cat dir/ succeeds' + warn_ 'files0-from-dir: skipped test: cat dir/ succeeds' + case $IFS in + printf '%s\n' 'files0-from-dir: skipped test: cat dir/ succeeds' files0-from-dir: skipped test: cat dir/ succeeds + test 9 = 2 + printf '%s\n' 'files0-from-dir: skipped test: cat dir/ succeeds' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-files0-from-dir.A7dW + exit 77 SKIP: du/move-dir-while-traversing ================================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-move-dir-while-traversing.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-move-dir-while-traversing.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-move-dir-while-traversing.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ du + test yes = yes + local i + for i in '$*' + env du --version du (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, Paul Eggert, and Jim Meyering. + python -m pyinotify -h python: module pyinotify not found + skip_ 'python inotify package not installed' + warn_ 'move-dir-while-traversing: skipped test: python inotify package not installed' + case $IFS in + printf '%s\n' 'move-dir-while-traversing: skipped test: python inotify package not installed' move-dir-while-traversing: skipped test: python inotify package not installed + test 9 = 2 + printf '%s\n' 'move-dir-while-traversing: skipped test: python inotify package not installed' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-move-dir-while-traversing.vu9g + exit 77 SKIP: id/gnu-zero-uids ====================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-gnu-zero-uids.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-gnu-zero-uids.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-gnu-zero-uids.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ id + test yes = yes + local i + for i in '$*' + env id --version id (GNU coreutils) 8.15 Copyright (C) 2012 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 Arnold Robbins and David MacKenzie. + require_gnu_ ++ uname + test SunOS = GNU + skip_ 'not running on GNU/Hurd' + warn_ 'gnu-zero-uids: skipped test: not running on GNU/Hurd' + case $IFS in + printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd' gnu-zero-uids: skipped test: not running on GNU/Hurd + test 9 = 2 + printf '%s\n' 'gnu-zero-uids: skipped test: not running on GNU/Hurd' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-gnu-zero-uids.NXnm + exit 77 SKIP: id/no-context =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-context.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-no-context.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-context.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ id + test yes = yes + local i + for i in '$*' + env id --version id (GNU coreutils) 8.15 Copyright (C) 2012 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 Arnold Robbins and David MacKenzie. + require_selinux_ + grep 'selinuxfs$' /proc/filesystems grep: can't open "/proc/filesystems" + skip_ 'this system lacks SELinux support' + warn_ 'no-context: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'no-context: skipped test: this system lacks SELinux support' no-context: skipped test: this system lacks SELinux support + test 9 = 2 + printf '%s\n' 'no-context: skipped test: this system lacks SELinux support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-context.Jdii + exit 77 SKIP: install/install-C ======================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-install-C.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ginstall + test yes = yes + local i + for i in '$*' + env ginstall --version install (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + skip_if_setgid_ + setgid_tmpdir=setgid-18147 + umask 77 + mkdir setgid-18147 ++ stat --printf %A setgid-18147 + perms=drwx--S--- + rmdir setgid-18147 + case $perms in + skip_ 'this directory has the setgid bit set' + warn_ 'install-C: skipped test: this directory has the setgid bit set' + case $IFS in + printf '%s\n' 'install-C: skipped test: this directory has the setgid bit set' install-C: skipped test: this directory has the setgid bit set + test 9 = 2 + printf '%s\n' 'install-C: skipped test: this directory has the setgid bit set' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C.OixI + exit 77 SKIP: install/install-C-selinux =============================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C-selinux.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-install-C-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C-selinux.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:07 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ginstall + test yes = yes + local i + for i in '$*' + env ginstall --version install (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + require_selinux_ + grep 'selinuxfs$' /proc/filesystems grep: can't open "/proc/filesystems" + skip_ 'this system lacks SELinux support' + warn_ 'install-C-selinux: skipped test: this system lacks SELinux support' + case $IFS in + printf '%s\n' 'install-C-selinux: skipped test: this system lacks SELinux support' install-C-selinux: skipped test: this system lacks SELinux support + test 9 = 2 + printf '%s\n' 'install-C-selinux: skipped test: this system lacks SELinux support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-selinux.dR2h + exit 77 SKIP: ls/no-cap =============== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-cap.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-no-cap.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-cap.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_strace_ capget + test 1 = 1 + strace -V + skip_ 'no strace program' + warn_ 'no-cap: skipped test: no strace program' + case $IFS in + printf '%s\n' 'no-cap: skipped test: no strace program' no-cap: skipped test: no strace program + test 9 = 2 + printf '%s\n' 'no-cap: skipped test: no strace program' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-cap.lNhK + exit 77 SKIP: ls/stat-dtype =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-dtype.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-stat-dtype.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-dtype.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + mkdir -p c/d + chmod a-x c ++ ls -p c + test 'Xls: cannot access c/d: Permission denied d' '!=' Xd/ + skip_ ''\''.'\'' is not on a suitable file system for this test' + warn_ 'stat-dtype: skipped test: '\''.'\'' is not on a suitable file system for this test' + case $IFS in + printf '%s\n' 'stat-dtype: skipped test: '\''.'\'' is not on a suitable file system for this test' stat-dtype: skipped test: '.' is not on a suitable file system for this test + test 9 = 2 + printf '%s\n' 'stat-dtype: skipped test: '\''.'\'' is not on a suitable file system for this test' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-dtype.M9p9 + exit 77 SKIP: ls/stat-free-color ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-free-color.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-stat-free-color.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-free-color.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_strace_ stat + test 1 = 1 + strace -V + skip_ 'no strace program' + warn_ 'stat-free-color: skipped test: no strace program' + case $IFS in + printf '%s\n' 'stat-free-color: skipped test: no strace program' stat-free-color: skipped test: no strace program + test 9 = 2 + printf '%s\n' 'stat-free-color: skipped test: no strace program' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-color.l9RT + exit 77 SKIP: ls/stat-free-symlinks =========================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-free-symlinks.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-stat-free-symlinks.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-stat-free-symlinks.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.Phx-' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_strace_ stat + test 1 = 1 + strace -V + skip_ 'no strace program' + warn_ 'stat-free-symlinks: skipped test: no strace program' + case $IFS in + printf '%s\n' 'stat-free-symlinks: skipped test: no strace program' stat-free-symlinks: skipped test: no strace program + test 9 = 2 + printf '%s\n' 'stat-free-symlinks: skipped test: no strace program' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-stat-free-symlinks.PhxS + exit 77 SKIP: mkdir/parents =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-parents.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-parents.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-parents.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + test yes = yes + local i + for i in '$*' + env mkdir --version mkdir (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + skip_if_setgid_ + setgid_tmpdir=setgid-25964 + umask 77 + mkdir setgid-25964 ++ stat --printf %A setgid-25964 + perms=drwx--S--- + rmdir setgid-25964 + case $perms in + skip_ 'this directory has the setgid bit set' + warn_ 'parents: skipped test: this directory has the setgid bit set' + case $IFS in + printf '%s\n' 'parents: skipped test: this directory has the setgid bit set' parents: skipped test: this directory has the setgid bit set + test 9 = 2 + printf '%s\n' 'parents: skipped test: this directory has the setgid bit set' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-parents.PFcn + exit 77 SKIP: mkdir/perm ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-perm.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-perm.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-perm.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + test yes = yes + local i + for i in '$*' + env mkdir --version mkdir (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + skip_if_setgid_ + setgid_tmpdir=setgid-26048 + umask 77 + mkdir setgid-26048 ++ stat --printf %A setgid-26048 + perms=drwx--S--- + rmdir setgid-26048 + case $perms in + skip_ 'this directory has the setgid bit set' + warn_ 'perm: skipped test: this directory has the setgid bit set' + case $IFS in + printf '%s\n' 'perm: skipped test: this directory has the setgid bit set' perm: skipped test: this directory has the setgid bit set + test 9 = 2 + printf '%s\n' 'perm: skipped test: this directory has the setgid bit set' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-perm.JxEF + exit 77 SKIP: mkdir/selinux =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-selinux.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-selinux.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir mkfifo mknod + test yes = yes + local i + for i in '$*' + env mkdir --version mkdir (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + for i in '$*' + env mkfifo --version mkfifo (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + for i in '$*' + env mknod --version mknod (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + require_selinux_enforcing_ ++ getenforce /appl/archives/build_tools/tools/src/coreutils-8.15/tests/init.cfg: line 89: getenforce: command not found + test '' = Enforcing + skip_ 'This test is useful only with SELinux in Enforcing mode.' + warn_ 'selinux: skipped test: This test is useful only with SELinux in Enforcing mode.' + case $IFS in + printf '%s\n' 'selinux: skipped test: This test is useful only with SELinux in Enforcing mode.' selinux: skipped test: This test is useful only with SELinux in Enforcing mode. + test 9 = 2 + printf '%s\n' 'selinux: skipped test: This test is useful only with SELinux in Enforcing mode.' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.BEB4 + exit 77 SKIP: mv/acl ============ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-acl.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-acl.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-acl.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.-rkZ' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv getfacl setfacl + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + for i in '$*' + env getfacl --version getfacl: illegal option -- version usage: getfacl [-ad] file ... + for i in '$*' + env setfacl --version usage: setfacl [-r] -f aclfile file ... setfacl [-r] -d acl_entries file ... setfacl [-r] -m acl_entries file ... setfacl [-r] -s acl_entries file ... + require_acl_ + getfacl --version + skip_ 'This test requires getfacl and setfacl.' + warn_ 'acl: skipped test: This test requires getfacl and setfacl.' + case $IFS in + printf '%s\n' 'acl: skipped test: This test requires getfacl and setfacl.' acl: skipped test: This test requires getfacl and setfacl. + test 9 = 2 + printf '%s\n' 'acl: skipped test: This test requires getfacl and setfacl.' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-acl.SrkZ + exit 77 SKIP: mv/atomic =============== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-atomic.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-atomic.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-atomic.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + require_strace_ unlink + test 1 = 1 + strace -V + skip_ 'no strace program' + warn_ 'atomic: skipped test: no strace program' + case $IFS in + printf '%s\n' 'atomic: skipped test: no strace program' atomic: skipped test: no strace program + test 9 = 2 + printf '%s\n' 'atomic: skipped test: no strace program' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic.h6aH + exit 77 SKIP: mv/atomic2 ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-atomic2.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-atomic2.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-atomic2.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + require_strace_ unlink + test 1 = 1 + strace -V + skip_ 'no strace program' + warn_ 'atomic2: skipped test: no strace program' + case $IFS in + printf '%s\n' 'atomic2: skipped test: no strace program' atomic2: skipped test: no strace program + test 9 = 2 + printf '%s\n' 'atomic2: skipped test: no strace program' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-atomic2.6vWN + exit 77 SKIP: mv/leak-fd ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-leak-fd.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-leak-fd.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-leak-fd.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:08 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + skip_if_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + . /appl/archives/build_tools/tools/src/coreutils-8.15/tests/other-fs-tmpdir ++ test '' = set ++ CANDIDATE_TMP_DIRS='/tmp /tmp /dev/shm /var/tmp /usr/tmp /appl/gfpip/current' ++ other_partition_tmpdir= +++ stat -c %d . ++ dot_mount_point=1155346225629 ++ for d in '$CANDIDATE_TMP_DIRS' ++ test -d /tmp +++ stat -L -c %d /tmp ++ d_mount_point=1520418422786 ++ test x1520418422786 = x1155346225629 ++ mkdir /tmp/tmp28679 ++ other_partition_tmpdir=/tmp/tmp28679 ++ break ++ test -z /tmp/tmp28679 ++ test yes = yes ++ set -x + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'leak-fd: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'leak-fd: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' leak-fd: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'leak-fd: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + rm -rf /tmp/tmp28679 + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-leak-fd.G6wn + exit 77 SKIP: tail-2/assert-2 ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-assert-2.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-assert-2.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-assert-2.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + very_expensive_ + test '' '!=' yes + skip_ 'very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + warn_ 'assert-2: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + case $IFS in + printf '%s\n' 'assert-2: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' assert-2: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive + test 9 = 2 + printf '%s\n' 'assert-2: skipped test: very expensive: disabled by default This test is very expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_VERY_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-very-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-assert-2.rmOt + exit 77 SKIP: tail-2/big-4gb ==================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-big-4gb.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-big-4gb.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-big-4gb.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + expensive_ + test '' '!=' yes + skip_ 'expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + warn_ 'big-4gb: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + case $IFS in + printf '%s\n' 'big-4gb: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' big-4gb: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive + test 9 = 2 + printf '%s\n' 'big-4gb: skipped test: expensive: disabled by default This test is relatively expensive, so it is disabled by default. To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS environment variable set to yes. E.g., env RUN_EXPENSIVE_TESTS=yes make check or use the shortcut target of the toplevel Makefile, make check-expensive ' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-big-4gb.YKiy + exit 77 SKIP: touch/no-dereference ========================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-dereference.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-no-dereference.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-dereference.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ touch + test yes = yes + local i + for i in '$*' + env touch --version touch (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. + ln -s nowhere dangling + touch file + ln -s file link + touch -h no-file + test -s err + touch -h -c no-file + test -s err + touch -h file + touch -h -r dangling file + test -f nowhere + grep '^#define HAVE_UTIMENSAT 1' /appl/archives/build_tools/tools/build/coreutils-8.15/lib/config.h + grep '^#define HAVE_LUTIMES 1' /appl/archives/build_tools/tools/build/coreutils-8.15/lib/config.h + skip_ 'this system lacks the utimensat function' + warn_ 'no-dereference: skipped test: this system lacks the utimensat function' + case $IFS in + printf '%s\n' 'no-dereference: skipped test: this system lacks the utimensat function' no-dereference: skipped test: this system lacks the utimensat function + test 9 = 2 + printf '%s\n' 'no-dereference: skipped test: this system lacks the utimensat function' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-dereference.6ctx + exit 77 SKIP: chown/basic ================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-basic.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-basic.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-basic.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uo-' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chgrp + test yes = yes + local i + for i in '$*' + env chgrp --version chgrp (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'basic: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'basic: skipped test: must be run as root' basic: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'basic: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-basic.9uoS + exit 77 SKIP: cp/cp-a-selinux ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-a-selinux.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-cp-a-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-a-selinux.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'cp-a-selinux: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'cp-a-selinux: skipped test: must be run as root' cp-a-selinux: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'cp-a-selinux: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-a-selinux.Tnh9 + exit 77 SKIP: cp/preserve-gid ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-preserve-gid.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-preserve-gid.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-preserve-gid.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'preserve-gid: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'preserve-gid: skipped test: must be run as root' preserve-gid: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'preserve-gid: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-preserve-gid.Wp9W + exit 77 SKIP: cp/special-bits ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-special-bits.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-special-bits.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-special-bits.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'special-bits: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'special-bits: skipped test: must be run as root' special-bits: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'special-bits: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-special-bits.rXi9 + exit 77 SKIP: cp/cp-mv-enotsup-xattr ============================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-mv-enotsup-xattr.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-cp-mv-enotsup-xattr.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-cp-mv-enotsup-xattr.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp mv + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'cp-mv-enotsup-xattr: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'cp-mv-enotsup-xattr: skipped test: must be run as root' cp-mv-enotsup-xattr: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'cp-mv-enotsup-xattr: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-cp-mv-enotsup-xattr.n1ja + exit 77 SKIP: cp/capability =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-capability.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-capability.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-capability.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'capability: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'capability: skipped test: must be run as root' capability: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'capability: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.0Z1H + exit 77 SKIP: cp/sparse-fiemap ====================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sparse-fiemap.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sparse-fiemap.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sparse-fiemap.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ cp + test yes = yes + local i + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + perl -e 1 + touch fiemap_chk + fiemap_capable_ fiemap_chk + python + python /appl/archives/build_tools/tools/src/coreutils-8.15/tests/fiemap-capable fiemap_chk + skip_ 'current file system has insufficient FIEMAP support' + warn_ 'sparse-fiemap: skipped test: current file system has insufficient FIEMAP support' + case $IFS in + printf '%s\n' 'sparse-fiemap: skipped test: current file system has insufficient FIEMAP support' sparse-fiemap: skipped test: current file system has insufficient FIEMAP support + test 9 = 2 + printf '%s\n' 'sparse-fiemap: skipped test: current file system has insufficient FIEMAP support' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sparse-fiemap.IyL8 + exit 77 SKIP: dd/skip-seek-past-dev =========================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-skip-seek-past-dev.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-skip-seek-past-dev.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-skip-seek-past-dev.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ dd + test yes = yes + local i + for i in '$*' + env dd --version dd (coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, and Stuart Kemp. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'skip-seek-past-dev: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'skip-seek-past-dev: skipped test: must be run as root' skip-seek-past-dev: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'skip-seek-past-dev: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-skip-seek-past-dev.crVo + exit 77 SKIP: install/install-C-root ============================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C-root.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-install-C-root.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-install-C-root.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ginstall + test yes = yes + local i + for i in '$*' + env ginstall --version install (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'install-C-root: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'install-C-root: skipped test: must be run as root' install-C-root: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'install-C-root: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-install-C-root.V2Po + exit 77 SKIP: ls/capability =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-capability.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-capability.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-capability.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'capability: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'capability: skipped test: must be run as root' capability: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'capability: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-capability.shtj + exit 77 SKIP: ls/nameless-uid ===================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-nameless-uid.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-nameless-uid.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-nameless-uid.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'nameless-uid: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'nameless-uid: skipped test: must be run as root' nameless-uid: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'nameless-uid: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-nameless-uid.r41V + exit 77 SKIP: misc/chcon ================ ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-chcon.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-chcon.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-chcon.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.-jYh' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon + test yes = yes + local i + for i in '$*' + env chcon --version chcon (GNU coreutils) 8.15 Copyright (C) 2012 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 Russell Coker and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'chcon: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'chcon: skipped test: must be run as root' chcon: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'chcon: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chcon.SjYh + exit 77 SKIP: misc/chroot-credentials ============================= ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-chroot-credentials.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-chroot-credentials.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-chroot-credentials.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chroot + test yes = yes + local i + for i in '$*' + env chroot --version chroot (GNU coreutils) 8.15 Copyright (C) 2012 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 Roland McGrath. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'chroot-credentials: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'chroot-credentials: skipped test: must be run as root' chroot-credentials: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'chroot-credentials: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-chroot-credentials.ueRV + exit 77 SKIP: misc/selinux ================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-selinux.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-selinux.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-selinux.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ chcon cp ls mv stat + test yes = yes + local i + for i in '$*' + env chcon --version chcon (GNU coreutils) 8.15 Copyright (C) 2012 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 Russell Coker and Jim Meyering. + for i in '$*' + env cp --version cp (GNU coreutils) 8.15 Copyright (C) 2012 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 Torbj"orn Granlund, David MacKenzie, and Jim Meyering. + for i in '$*' + env ls --version ls (GNU coreutils) 8.15 Copyright (C) 2012 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 Richard M. Stallman and David MacKenzie. + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + for i in '$*' + env stat --version stat (GNU coreutils) 8.15 Copyright (C) 2012 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 Michael Meskes. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'selinux: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'selinux: skipped test: must be run as root' selinux: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'selinux: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-selinux.WG4w + exit 77 SKIP: misc/truncate-owned-by-other ================================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-truncate-owned-by-other.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-truncate-owned-by-other.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-truncate-owned-by-other.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ truncate + test yes = yes + local i + for i in '$*' + env truncate --version truncate (GNU coreutils) 8.15 Copyright (C) 2012 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 P'adraig Brady. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'truncate-owned-by-other: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'truncate-owned-by-other: skipped test: must be run as root' truncate-owned-by-other: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'truncate-owned-by-other: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-truncate-owned-by-other.MNcC + exit 77 SKIP: mkdir/writable-under-readonly =================================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-writable-under-readonly.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-writable-under-readonly.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-writable-under-readonly.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mkdir + test yes = yes + local i + for i in '$*' + env mkdir --version mkdir (GNU coreutils) 8.15 Copyright (C) 2012 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 David MacKenzie. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'writable-under-readonly: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'writable-under-readonly: skipped test: must be run as root' writable-under-readonly: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'writable-under-readonly: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-writable-under-readonly.83yz + exit 77 SKIP: mv/sticky-to-xpart ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sticky-to-xpart.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-sticky-to-xpart.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-sticky-to-xpart.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ mv + test yes = yes + local i + for i in '$*' + env mv --version mv (GNU coreutils) 8.15 Copyright (C) 2012 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 Mike Parker, David MacKenzie, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'sticky-to-xpart: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'sticky-to-xpart: skipped test: must be run as root' sticky-to-xpart: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'sticky-to-xpart: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-sticky-to-xpart.cJK4 + exit 77 SKIP: rm/fail-2eperm ==================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fail-2eperm.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-fail-2eperm.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-fail-2eperm.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'fail-2eperm: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'fail-2eperm: skipped test: must be run as root' fail-2eperm: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'fail-2eperm: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-fail-2eperm.wcQh + exit 77 SKIP: rm/no-give-up =================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-give-up.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-no-give-up.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-no-give-up.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'no-give-up: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'no-give-up: skipped test: must be run as root' no-give-up: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'no-give-up: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-no-give-up.5wnN + exit 77 SKIP: rm/one-file-system ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-one-file-system.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-one-file-system.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-one-file-system.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'one-file-system: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'one-file-system: skipped test: must be run as root' one-file-system: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'one-file-system: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-one-file-system.Ik2p + exit 77 SKIP: rm/read-only ================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-read-only.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-read-only.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-read-only.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.-xZW' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ rm + test yes = yes + local i + for i in '$*' + env rm --version rm (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Richard M. Stallman, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'read-only: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'read-only: skipped test: must be run as root' read-only: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'read-only: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-read-only.SxZW + exit 77 SKIP: tail-2/append-only ======================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-append-only.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-append-only.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-append-only.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy ++++ tr S - ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ tail + test yes = yes + local i + for i in '$*' + env tail --version tail (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'append-only: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'append-only: skipped test: must be run as root' append-only: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'append-only: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-append-only.Z5sy + exit 77 SKIP: touch/now-owned-by-other ============================== ++ initial_cwd_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-now-owned-by-other.XXXX +++ case $# in +++ destdir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests +++ template_=gt-now-owned-by-other.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /appl/archives/build_tools/tools/build/coreutils-8.15/tests gt-now-owned-by-other.XXXX +++ d=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ +++ case $d in +++ test -d /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ ++++ ls -dgo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ ++++ tr S - +++ perms='drwx------ 2 96 Jan 29 17:09 /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ' +++ case $perms in +++ test 0 = 0 +++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ +++ return ++ test_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests/../src ++ echo /appl/archives/build_tools/tools/build/coreutils-8.15/src + abs_path_dir_=/appl/archives/build_tools/tools/build/coreutils-8.15/src + case $abs_path_dir_ in + PATH=/appl/archives/build_tools/tools/build/coreutils-8.15/src:/appl/archives/build_tools/tools/build/coreutils-8.15/src:/usr/xpg4/bin:/appl/gfpip/local/bin:/usr/local/lib:/usr/localcw/bin:/appl/gfpip/current/rootbin:/sbin:/usr/bin:/usr/localcw/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/perl5/bin:/opt/OV/bin:/opt/SUNWspro/bin:/usr/local/scme:/opt/InCharge7/SAM/smarts/bin:/usr/sfw/bin:/usr/sfw/sbin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/usr/localcw/sbin:/opt/VRTSvlic/bin:/opt/VRTS/bin:/opt/SUNWexplo/bin:/opt/perf/bin:/appl/gfpip/current/bin + create_exe_shims_ /appl/archives/build_tools/tools/build/coreutils-8.15/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ touch + test yes = yes + local i + for i in '$*' + env touch --version touch (GNU coreutils) 8.15 Copyright (C) 2012 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 Paul Rubin, Arnold Robbins, Jim Kingdon, David MacKenzie, and Randy Smith. + require_root_ + uid_is_privileged_ ++ id -u + my_uid=409 + case $my_uid in + return 1 + skip_ 'must be run as root' + warn_ 'now-owned-by-other: skipped test: must be run as root' + case $IFS in + printf '%s\n' 'now-owned-by-other: skipped test: must be run as root' now-owned-by-other: skipped test: must be run as root + test 9 = 2 + printf '%s\n' 'now-owned-by-other: skipped test: must be run as root' + sed 1q + Exit 77 + set +e + exit 77 + exit 77 + remove_tmp_ + __st=77 + cleanup_ + : + cd /appl/archives/build_tools/tools/build/coreutils-8.15/tests + chmod -R u+rwx /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ + rm -rf /appl/archives/build_tools/tools/build/coreutils-8.15/tests/gt-now-owned-by-other.3DOQ + exit 77
gfpmtipb GFP IP App ID <dl-GFP-IPAppmtipb@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#10639
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.