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
basedir: /
space/autotest
basedir: /
home/ndbdev/autotest/run
mgm: CHOOSE_host1
ndb: CHOOSE_host2 CHOOSE_host3
api: CHOOSE_host1 CHOOSE_host1 CHOOSE_host1
...
...
@@ -11,7 +11,7 @@ DataMemory: 300M
BackupMemory: 64M
MaxNoOfConcurrentScans: 100
DataDir: .
FileSystemPath: /
space
/autotest/run
FileSystemPath: /
home/ndbdev
/autotest/run
[MGM DEFAULT]
PortNumber: 14000
...
...
ndb/test/run-test/make-config.sh
View file @
7d0041e8
...
...
@@ -5,6 +5,7 @@ basedir=""
proc_no
=
1
node_id
=
1
d_file
=
/tmp/d.
$$
dir_file
=
/tmp/dirs.
$$
config_file
=
/tmp/config.
$$
cluster_file
=
/tmp/cluster.
$$
...
...
@@ -74,9 +75,13 @@ do
else
cnf
=
/dev/null
fi
;;
*
)
echo
$line
>>
$cnf
line
=
""
;;
*
)
echo
$line
>>
$cnf
;
line
=
""
;;
esac
if
[
"
$line
"
]
then
echo
$line
>>
$d_file
fi
done
cat
$dir_file
| xargs
mkdir
-p
...
...
@@ -92,4 +97,5 @@ for i in `find . -type d -name '*.ndb_mgmd'`
cp
$config_file
$i
/config.ini
done
mv
$d_file
d.txt
rm
-f
$config_file
$dir_file
$cluster_file
ndb/test/run-test/ndb-autotest.sh
View file @
7d0041e8
#!/bin/sh
save_args
=
$*
VERSION
=
"ndb-autotest.sh version 1.0
2
"
VERSION
=
"ndb-autotest.sh version 1.0
3
"
DATE
=
`
date
'+%Y-%m-%d'
`
export
DATE
...
...
@@ -136,7 +136,7 @@ if [ "$deploy" ]
then
for
i
in
$hosts
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
=
$?
if
[
$ok
-ne
0
]
then
...
...
@@ -177,7 +177,7 @@ choose(){
}
choose_conf
(){
host
=
`
uname
-n
`
host
=
`
hostname
-s
`
if
[
-f
$test_dir
/conf-
$1
-
$host
.txt
]
then
echo
"
$test_dir
/conf-
$1
-
$host
.txt"
...
...
@@ -203,14 +203,14 @@ start(){
p2
=
`
pwd
`
cd
..
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
}
count_hosts
(){
grep
"CHOOSE_host"
$1
|
awk
'{for(i=1; i<=NF;i++) if(match($i, "CHOOSE_host") > 0) print $i;}'
|
wc
-l
|
sort
|
uniq
|
wc
-l
}
p
=
`
pwd
`
...
...
@@ -235,13 +235,12 @@ do
break
;
fi
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
)
run_hosts
=
`
echo
$avail_hosts
|awk
'{for(i=1;i<='
$count
';i++)print $i;}'
`
echo
$run_hosts
>>
/tmp/filter_hosts.
$$
cd
$run_dir
choose
$conf
$run_hosts
>
d.tmp
$mkconfig
d.tmp
start
$dir
-mysql-
$clone
-
$target
$dir
$res_dir
&
done
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