Bug 1845684
| Summary: | csh doesn't set up the "$command" variable before sourcing in /etc/csh.cshrc any more (it used to). | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Thomas Gardner <thgardne> |
| Component: | tcsh | Assignee: | Siteshwar Vashisht <svashisht> |
| Status: | CLOSED ERRATA | QA Contact: | Karel Volný <kvolny> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.1 | CC: | angelotech, jamacku, kvolny |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 8.0 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | tcsh-6.20.00-15.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-10 13:42:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Thomas Gardner
2020-06-09 20:04:35 UTC
*** Bug 1901611 has been marked as a duplicate of this bug. *** tcsh-6.20.00-15.el8.x86_64 :: [ 07:36:00 ] :: [ PASS ] :: Checking for the presence of tcsh rpm :: [ 07:36:00 ] :: [ LOG ] :: Package versions: :: [ 07:36:00 ] :: [ LOG ] :: tcsh-6.20.00-15.el8.x86_64 :: [ 07:36:00 ] :: [ BEGIN ] :: Installing file to source :: actually running 'cp bz1842722.csh /etc/profile.d' :: [ 07:36:00 ] :: [ PASS ] :: Installing file to source (Expected 0, got 0) :: [ 07:36:00 ] :: [ BEGIN ] :: Creating tmp directory :: actually running 'TmpDir=$(mktemp -d)' :: [ 07:36:00 ] :: [ PASS ] :: Creating tmp directory (Expected 0, got 0) :: [ 07:36:00 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.sjrrFT5FKd' /tmp/tmp.sjrrFT5FKd /mnt/tests/CoreOS/tcsh/Regression/bz1842722-csh-doesn-t-set-up-the-command-variable-before :: [ 07:36:00 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.sjrrFT5FKd' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 4 good, 0 bad :: RESULT: PASS (Setup) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 07:36:00 ] :: [ BEGIN ] :: Running 'tcsh -c 'cat /tmp/csh.command.`date +%s`.$$ ; echo '' $command = cat /tmp/csh.command.`date +%s`.$$ ; echo :: [ 07:36:00 ] :: [ PASS ] :: Command 'tcsh -c 'cat /tmp/csh.command.`date +%s`.$$ ; echo '' (Expected 0, got 0) :: [ 07:36:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.RDgg00Kq' should contain '= cat' :: [ 07:36:00 ] :: [ PASS ] :: File '/var/tmp/rlRun_LOG.RDgg00Kq' should not contain 'not defined' :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 3 good, 0 bad :: RESULT: PASS (Test) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (tcsh bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:1809 |