Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9eea2470
Commit
9eea2470
authored
Dec 20, 2000
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql-test-run.sh expr substr -> echo | cut
parent
94b9b751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-5
No files found.
mysql-test/mysql-test-run.sh
View file @
9eea2470
...
...
@@ -68,10 +68,6 @@ SLAVE_RUNNING=0
[
-d
$MY_TMP_DIR
]
||
mkdir
-p
$MY_TMP_DIR
[
-z
"
$COLUMNS
"
]
&&
COLUMNS
=
80
E
=
`
expr
$COLUMNS
- 8
`
DASH72
=
`
expr
substr
'________________________________________________________________________'
1
$E
`
#++
# mysqld Environment Parameters
#--
...
...
@@ -113,6 +109,11 @@ TIME=/usr/bin/time
TR
=
/usr/bin/tr
XARGS
=
`
which xargs |
head
-1
`
[
-z
"
$COLUMNS
"
]
&&
COLUMNS
=
80
E
=
`
$EXPR
$COLUMNS
- 8
`
#DASH72=`expr substr '________________________________________________________________________' 1 $E`
DASH72
=
`
$ECHO
'________________________________________________________________________'
|
$CUT
-c
1-
$E
`
# on source dist, we pick up freshly build executables
# on binary, use what is installed
if
[
x
$SOURCE_DIST
=
x1
]
;
then
...
...
@@ -469,7 +470,7 @@ run_testcase ()
fi
timestr
=
"
$USERT
$SYST
$REALT
"
pname
=
`
$E
XPR
substr
"
$tname
"
1
16
`
pname
=
`
$E
CHO
"
$tname
"
|
$CUT
-c
1-
16
`
$SETCOLOR_NORMAL
&&
$ECHO
-n
"
$pname
$timestr
"
...
...
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