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
129b3d4a
Commit
129b3d4a
authored
May 07, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndb - autotest
upgrades to shell script
parent
46265f9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
16 deletions
+17
-16
ndb/test/run-test/Makefile.am
ndb/test/run-test/Makefile.am
+6
-1
ndb/test/run-test/ndb-autotest.sh
ndb/test/run-test/ndb-autotest.sh
+11
-15
No files found.
ndb/test/run-test/Makefile.am
View file @
129b3d4a
...
...
@@ -6,7 +6,12 @@ include $(top_srcdir)/ndb/config/type_util.mk.am
include
$(top_srcdir)/ndb/config/type_mgmapiclient.mk.am
test_PROGRAMS
=
atrt
test_DATA
=
daily-basic-tests.txt daily-devel-tests.txt
test_DATA
=
daily-basic-tests.txt daily-devel-tests.txt
\
conf-daily-basic-ndbmaster.txt
\
conf-daily-basic-shark.txt
\
conf-daily-devel-ndbmaster.txt
\
conf-daily-sql-ndbmaster.txt
\
conf-daily-basic-dl145a.txt
test_SCRIPTS
=
atrt-analyze-result.sh atrt-gather-result.sh atrt-setup.sh
\
atrt-clear-result.sh make-config.sh make-index.sh make-html-reports.sh
...
...
ndb/test/run-test/ndb-autotest.sh
View file @
129b3d4a
#!/bin/sh
save_args
=
$*
VERSION
=
"ndb-autotest.sh version 1.0
1
"
VERSION
=
"ndb-autotest.sh version 1.0
2
"
DATE
=
`
date
'+%Y-%m-%d'
`
export
DATE
...
...
@@ -134,20 +134,16 @@ hosts=`cat /tmp/hosts.$DATE`
if
[
"
$deploy
"
]
then
(
cd
/
&&
tar
cfz /tmp/build.
$DATE
.tgz
$run_dir
)
for
i
in
$hosts
do
ok
=
0
scp /tmp/build.
$DATE
.tgz
$i
:/tmp/build.
$DATE
.
$$
.tgz
&&
\
ssh
$i
"rm -rf /space/autotest/*"
&&
\
ssh
$i
"cd / && tar xfz /tmp/build.
$DATE
.
$$
.tgz"
&&
\
ssh
$i
"rm /tmp/build.
$DATE
.
$$
.tgz"
&&
ok
=
1
if
[
$ok
-eq
0
]
then
echo
"
$i
failed during scp/ssh, excluding"
echo
$i
>>
/tmp/failed.
$DATE
fi
done
for
i
in
$hosts
do
rsync
-v
-a
--delete
--force
--ignore-errors
$run_dir
/
$i
:
$run_dir
ok
=
$?
if
[
$ok
-ne
0
]
then
echo
"
$i
failed during rsync, excluding"
echo
$i
>>
/tmp/failed.
$DATE
fi
done
fi
rm
-f
/tmp/build.
$DATE
.tgz
...
...
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