Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
3fd0e2dc
Commit
3fd0e2dc
authored
Oct 10, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-sh-functions: add test_shell to check if bash have no wrong output
parent
b294e394
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
epm-sh-functions
bin/epm-sh-functions
+11
-0
No files found.
bin/epm-sh-functions
View file @
3fd0e2dc
...
@@ -856,8 +856,19 @@ assure_tmpdir()
...
@@ -856,8 +856,19 @@ assure_tmpdir()
fi
fi
}
}
test_shell
()
{
local
R
R
=
"
$(
$CMDSHELL
/dev/null 2>&1
)
"
[
-n
"
$R
"
]
&&
fatal
"
$CMDSHELL
is broken (bash wrongly printing out '
$R
'). Check ~/.bashrc and /etc/bashrc, run
$CMDSHELL
manually for test."
}
set_distro_info
()
set_distro_info
()
{
{
test_shell
assure_tmpdir
assure_tmpdir
set_bigtmpdir
set_bigtmpdir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment