Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
debian-packages
lustre-release
Commits
42f4fafd
Commit
42f4fafd
authored
21 years ago
by
Andreas Dilger
Browse files
Options
Downloads
Patches
Plain Diff
At least make some effort to detect errors in llog testing.
parent
9cff004f
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lustre/tests/run-llog.sh
+16
-8
16 additions, 8 deletions
lustre/tests/run-llog.sh
with
16 additions
and
8 deletions
lustre/tests/run-llog.sh
+
16
−
8
View file @
42f4fafd
#!/bin/bash
#!/bin/bash
insmod ../obdclass/llog_test.o
PATH
=
`
dirname
$0
`
:
`
dirname
$0
`
/../utils:
$PATH
../utils/lctl modules
>
/r/tmp/ogdb-localhost.localdomain
insmod ../obdclass/llog_test.o
||
exit
1
lctl modules
>
/r/tmp/ogdb-
`
hostname
`
echo
"NOW reload debugging syms.."
echo
"NOW reload debugging syms.."
# Using ignore_errors will allow lctl to cleanup even if the test
RC
=
0
# fails.
lctl
<<
EOT
|| RC=2
../utils/lctl
<<
EOF
ignore_errors
newdev
newdev
attach llog_test llt_name llt_uuid
attach llog_test llt_name llt_uuid
setup mds1
setup mds1
EOT
# Using ignore_errors will allow lctl to cleanup even if the test fails.
lctl
<<
EOC
cfg_device llt_name
ignore_errors
cleanup
cleanup
detach
detach
EOF
EOC
rmmod llog_test
rmmod llog_test
||
RC2
=
3
[
$RC
-eq
0
-a
"
$RC2
"
]
&&
RC
=
$RC2
exit
$RC
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment