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
7d0041e8
Commit
7d0041e8
authored
May 07, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jonas/src/mysql-4.1
into mysql.com:/home/jonas/src/mysql-5.0
parents
1b001d8c
1f75afed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
ndb/test/run-test/conf-daily-basic-dl145a.txt
ndb/test/run-test/conf-daily-basic-dl145a.txt
+2
-2
ndb/test/run-test/make-config.sh
ndb/test/run-test/make-config.sh
+8
-2
ndb/test/run-test/ndb-autotest.sh
ndb/test/run-test/ndb-autotest.sh
+10
-11
No files found.
ndb/test/run-test/conf-daily-basic-dl145a.txt
View file @
7d0041e8
baseport: 16000
baseport: 16000
basedir: /
space/autotest
basedir: /
home/ndbdev/autotest/run
mgm: CHOOSE_host1
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
ndb: CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
...
@@ -11,7 +11,7 @@ DataMemory: 300M
...
@@ -11,7 +11,7 @@ DataMemory: 300M
BackupMemory: 64M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
MaxNoOfConcurrentScans: 100
DataDir: .
DataDir: .
FileSystemPath: /
space
/autotest/run
FileSystemPath: /
home/ndbdev
/autotest/run
[MGM DEFAULT]
[MGM DEFAULT]
PortNumber: 14000
PortNumber: 14000
...
...
ndb/test/run-test/make-config.sh
View file @
7d0041e8
...
@@ -5,6 +5,7 @@ basedir=""
...
@@ -5,6 +5,7 @@ basedir=""
proc_no
=
1
proc_no
=
1
node_id
=
1
node_id
=
1
d_file
=
/tmp/d.
$$
dir_file
=
/tmp/dirs.
$$
dir_file
=
/tmp/dirs.
$$
config_file
=
/tmp/config.
$$
config_file
=
/tmp/config.
$$
cluster_file
=
/tmp/cluster.
$$
cluster_file
=
/tmp/cluster.
$$
...
@@ -74,9 +75,13 @@ do
...
@@ -74,9 +75,13 @@ do
else
else
cnf
=
/dev/null
cnf
=
/dev/null
fi
fi
;;
line
=
""
;;
*
)
echo
$line
>>
$cnf
*
)
echo
$line
>>
$cnf
;
line
=
""
;;
esac
esac
if
[
"
$line
"
]
then
echo
$line
>>
$d_file
fi
done
done
cat
$dir_file
| xargs
mkdir
-p
cat
$dir_file
| xargs
mkdir
-p
...
@@ -92,4 +97,5 @@ for i in `find . -type d -name '*.ndb_mgmd'`
...
@@ -92,4 +97,5 @@ for i in `find . -type d -name '*.ndb_mgmd'`
cp
$config_file
$i
/config.ini
cp
$config_file
$i
/config.ini
done
done
mv
$d_file
d.txt
rm
-f
$config_file
$dir_file
$cluster_file
rm
-f
$config_file
$dir_file
$cluster_file
ndb/test/run-test/ndb-autotest.sh
View file @
7d0041e8
#!/bin/sh
#!/bin/sh
save_args
=
$*
save_args
=
$*
VERSION
=
"ndb-autotest.sh version 1.0
2
"
VERSION
=
"ndb-autotest.sh version 1.0
3
"
DATE
=
`
date
'+%Y-%m-%d'
`
DATE
=
`
date
'+%Y-%m-%d'
`
export
DATE
export
DATE
...
@@ -136,7 +136,7 @@ if [ "$deploy" ]
...
@@ -136,7 +136,7 @@ if [ "$deploy" ]
then
then
for
i
in
$hosts
for
i
in
$hosts
do
do
rsync
-
v
-
a
--delete
--force
--ignore-errors
$run_dir
/
$i
:
$run_dir
rsync
-a
--delete
--force
--ignore-errors
$run_dir
/
$i
:
$run_dir
ok
=
$?
ok
=
$?
if
[
$ok
-ne
0
]
if
[
$ok
-ne
0
]
then
then
...
@@ -177,7 +177,7 @@ choose(){
...
@@ -177,7 +177,7 @@ choose(){
}
}
choose_conf
(){
choose_conf
(){
host
=
`
uname
-n
`
host
=
`
hostname
-s
`
if
[
-f
$test_dir
/conf-
$1
-
$host
.txt
]
if
[
-f
$test_dir
/conf-
$1
-
$host
.txt
]
then
then
echo
"
$test_dir
/conf-
$1
-
$host
.txt"
echo
"
$test_dir
/conf-
$1
-
$host
.txt"
...
@@ -203,14 +203,14 @@ start(){
...
@@ -203,14 +203,14 @@ start(){
p2
=
`
pwd
`
p2
=
`
pwd
`
cd
..
cd
..
tar
cfz /tmp/res.
$$
.tgz
`
basename
$p2
`
/
$DATE
tar
cfz /tmp/res.
$$
.tgz
`
basename
$p2
`
/
$DATE
scp /tmp/res.
$$
.tgz
$result_host
:
$result_path
/
tmp/res.
$DATE
.
`
uname
-n
`
.
$$
.tgz
scp /tmp/res.
$$
.tgz
$result_host
:
$result_path
/
res.
$DATE
.
`
hostname
-s
`
.
$$
.tgz
rm
-f
/tmp/res.
$$
.tgz
rm
-f
/tmp/res.
$$
.tgz
}
}
count_hosts
(){
count_hosts
(){
grep
"CHOOSE_host"
$1
|
grep
"CHOOSE_host"
$1
|
awk
'{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}'
|
awk
'{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}'
|
wc
-l
|
sort
|
uniq
|
wc
-l
}
}
p
=
`
pwd
`
p
=
`
pwd
`
...
@@ -235,13 +235,12 @@ do
...
@@ -235,13 +235,12 @@ do
break
;
break
;
fi
fi
run_hosts
=
`
echo
$avail_hosts
|
awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
run_hosts
=
`
echo
$avail_hosts
|awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
choose
$conf
$run_hosts
>
$run_dir
/d.txt
(
cd
$run_dir
;
$mkconfig
d.txt
)
echo
$run_hosts
>>
/tmp/filter_hosts.
$$
echo
$run_hosts
>>
/tmp/filter_hosts.
$$
cd
$run_dir
cd
$run_dir
choose
$conf
$run_hosts
>
d.tmp
$mkconfig
d.tmp
start
$dir
-mysql-
$clone
-
$target
$dir
$res_dir
&
start
$dir
-mysql-
$clone
-
$target
$dir
$res_dir
&
done
done
cd
$p
cd
$p
...
...
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