Bug 1330755 - Fix 'bashisms' in tests
Summary: Fix 'bashisms' in tests
Keywords:
Status: CLOSED EOL
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Tests
Version: 10.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Asha Akkiangady
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 21:13 UTC by Matthew Harmsen
Modified: 2020-03-27 20:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:12:13 UTC


Attachments (Terms of Use)
replace 'source' with '.' in tests (1.68 KB, text/plain)
2016-04-26 21:13 UTC, Matthew Harmsen
no flags Details
replace 'bash' with 'sh' in tests (36.45 KB, text/plain)
2016-04-26 21:14 UTC, Matthew Harmsen
no flags Details

Description Matthew Harmsen 2016-04-26 21:13:27 UTC
Created attachment 1151117 [details]
replace 'source' with '.' in tests

Recently, the following upstream ticket:

* https://fedorahosted.org/pki/ticket/2249 fix bashisms

was fixed by making the following changes to the source:

* changed 'source' to '.'
* changed 'bash' to 'sh'

Similar fixes should be applied to the tests so that they can be utilized by other platforms which do not use 'bash' as their default shell (e. g. - Debian uses 'dash').

Comment 1 Matthew Harmsen 2016-04-26 21:14:12 UTC
Created attachment 1151120 [details]
replace 'bash' with 'sh' in tests


Note You need to log in before you can comment on or make changes to this bug.