Bug 188897

Summary: test not builtin to tcsh
Product: Red Hat Enterprise Linux 3 Reporter: Bastien Nocera <bnocera>
Component: coreutilsAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: meyering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2007-0474 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-11 18:54:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
coreutils-no-builtin-test-csh.patch none

Description Bastien Nocera 2006-04-13 10:18:54 UTC
coreutils-5.2.1-31.2 contains the colorls.csh profile script
(/etc/profile.d/colorls.csh) which uses "test".

However, test is not builtin to C shells (as opposed to bash) so a funky $PATH
could find a "test" binary somewhere else.

Better be safe and hard-code /usr/bin/test instead

Comment 1 Bastien Nocera 2006-04-13 10:18:55 UTC
Created attachment 127701 [details]
coreutils-no-builtin-test-csh.patch

Comment 2 Tim Waugh 2006-04-18 12:35:19 UTC
Better fix already in rawhide.

Comment 3 Tim Waugh 2006-08-09 10:43:20 UTC
Fixed in CVS.

Comment 11 Red Hat Bugzilla 2007-06-11 18:54:36 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0474.html