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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
aa9bc9d0
Commit
aa9bc9d0
authored
May 13, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.0
parents
0eeee367
95aa8cfb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
23 deletions
+5
-23
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+5
-23
No files found.
mysql-test/mysql-test-run.sh
View file @
aa9bc9d0
...
@@ -110,7 +110,6 @@ GREP=grep
...
@@ -110,7 +110,6 @@ GREP=grep
if
test
$?
!=
0
;
then
exit
1
;
fi
if
test
$?
!=
0
;
then
exit
1
;
fi
PRINTF
=
printf
PRINTF
=
printf
RM
=
rm
RM
=
rm
TIME
=
`
which
time
`
if
test
$?
!=
0
;
then
exit
1
;
fi
if
test
$?
!=
0
;
then
exit
1
;
fi
TR
=
tr
TR
=
tr
XARGS
=
`
which xargs
`
XARGS
=
`
which xargs
`
...
@@ -409,7 +408,7 @@ fi
...
@@ -409,7 +408,7 @@ fi
if
test
${
COLUMNS
:-
0
}
-lt
80
;
then
COLUMNS
=
80
;
fi
if
test
${
COLUMNS
:-
0
}
-lt
80
;
then
COLUMNS
=
80
;
fi
E
=
`
$EXPR
$COLUMNS
- 8
`
E
=
`
$EXPR
$COLUMNS
- 8
`
DASH72
=
`
$ECHO
'------------------------------------------
------------------------------
'
|
$CUT
-c
1-
$E
`
DASH72
=
`
$ECHO
'------------------------------------------'
|
$CUT
-c
1-
$E
`
# on source dist, we pick up freshly build executables
# on source dist, we pick up freshly build executables
# on binary, use what is installed
# on binary, use what is installed
...
@@ -588,9 +587,8 @@ skip_test() {
...
@@ -588,9 +587,8 @@ skip_test() {
USERT
=
" ...."
USERT
=
" ...."
SYST
=
" ...."
SYST
=
" ...."
REALT
=
" ...."
REALT
=
" ...."
timestr
=
"
$USERT
$SYST
$REALT
"
pname
=
`
$ECHO
"
$1
"
|
$CUT
-c
1-24
`
pname
=
`
$ECHO
"
$1
"
|
$CUT
-c
1-24
`
RES
=
"
$pname
$timestr
"
RES
=
"
$pname
"
skip_inc
skip_inc
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
$ECHO
"
$RES$RES_SPACE
[ skipped ]"
}
}
...
@@ -1217,31 +1215,15 @@ run_testcase ()
...
@@ -1217,31 +1215,15 @@ run_testcase ()
$RM
-f
r/
$tname
.
*
reject
$RM
-f
r/
$tname
.
*
reject
mysql_test_args
=
"-R r/
$tname
.result
$EXTRA_MYSQL_TEST_OPT
"
mysql_test_args
=
"-R r/
$tname
.result
$EXTRA_MYSQL_TEST_OPT
"
if
[
-z
"
$DO_CLIENT_GDB
"
]
;
then
if
[
-z
"
$DO_CLIENT_GDB
"
]
;
then
mytime
=
`
$TIME
-p
$MYSQL_TEST
$mysql_test_args
<
$tf
2>
$TIMEFILE
`
`
$MYSQL_TEST
$mysql_test_args
<
$tf
2>
$TIMEFILE
`
;
else
else
do_gdb_test
"
$mysql_test_args
"
"
$tf
"
do_gdb_test
"
$mysql_test_args
"
"
$tf
"
fi
fi
res
=
$?
res
=
$?
if
[
$res
=
0
]
;
then
mytime
=
`
$CAT
$TIMEFILE
|
$TAIL
-3
|
$TR
'\n'
':'
`
USERT
=
`
$ECHO
$mytime
|
$CUT
-d
:
-f
2 |
$CUT
-d
' '
-f
2
`
USERT
=
`
prefix_to_8
$USERT
`
SYST
=
`
$ECHO
$mytime
|
$CUT
-d
:
-f
3 |
$CUT
-d
' '
-f
2
`
SYST
=
`
prefix_to_8
$SYST
`
REALT
=
`
$ECHO
$mytime
|
$CUT
-d
:
-f
1 |
$CUT
-d
' '
-f
2
`
REALT
=
`
prefix_to_8
$REALT
`
else
USERT
=
" ...."
SYST
=
" ...."
REALT
=
" ...."
fi
timestr
=
"
$USERT
$SYST
$REALT
"
pname
=
`
$ECHO
"
$tname
"
|
$CUT
-c
1-24
`
pname
=
`
$ECHO
"
$tname
"
|
$CUT
-c
1-24
`
RES
=
"
$pname
$timestr
"
RES
=
"
$pname
"
if
[
x
$many_slaves
=
x1
]
;
then
if
[
x
$many_slaves
=
x1
]
;
then
stop_slave 1
stop_slave 1
...
@@ -1373,7 +1355,7 @@ then
...
@@ -1373,7 +1355,7 @@ then
fi
fi
$ECHO
$ECHO
$ECHO
" TEST
USER SYSTEM ELAPSED
RESULT"
$ECHO
" TEST RESULT"
$ECHO
$DASH72
$ECHO
$DASH72
if
[
-z
"
$1
"
]
;
if
[
-z
"
$1
"
]
;
...
...
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