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
e99f5049
Commit
e99f5049
authored
18 years ago
by
Nathan Rutman
Browse files
Options
Downloads
Patches
Plain Diff
fixes for running in more user environments
parent
5d88d521
No related branches found
Branches containing commit
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/sanity.sh
+5
-0
5 additions, 0 deletions
lustre/tests/sanity.sh
with
5 additions
and
0 deletions
lustre/tests/sanity.sh
+
5
−
0
View file @
e99f5049
...
@@ -114,6 +114,7 @@ check_kernel_version() {
...
@@ -114,6 +114,7 @@ check_kernel_version() {
WANT_VER
=
$1
WANT_VER
=
$1
[
!
-f
$VERSION_FILE
]
&&
echo
"can't find kernel version"
&&
return
1
[
!
-f
$VERSION_FILE
]
&&
echo
"can't find kernel version"
&&
return
1
GOT_VER
=
$(
awk
'/kernel:/ {print $2}'
$VERSION_FILE
)
GOT_VER
=
$(
awk
'/kernel:/ {print $2}'
$VERSION_FILE
)
[
$GOT_VER
==
"patchless"
]
&&
return
0
[
$GOT_VER
-ge
$WANT_VER
]
&&
return
0
[
$GOT_VER
-ge
$WANT_VER
]
&&
return
0
log
"test needs at least kernel version
$WANT_VER
, running
$GOT_VER
"
log
"test needs at least kernel version
$WANT_VER
, running
$GOT_VER
"
return
1
return
1
...
@@ -2171,6 +2172,8 @@ test_53() {
...
@@ -2171,6 +2172,8 @@ test_53() {
run_test 53
"verify that MDS and OSTs agree on pre-creation ===="
run_test 53
"verify that MDS and OSTs agree on pre-creation ===="
test_54a
()
{
test_54a
()
{
[
!
-f
"
$SOCKETSERVER
"
]
&&
echo
"no socketserver, skipping"
&&
return
[
!
-f
"
$SOCKETCLIENT
"
]
&&
echo
"no socketclient, skipping"
&&
return
$SOCKETSERVER
$DIR
/socket
$SOCKETSERVER
$DIR
/socket
$SOCKETCLIENT
$DIR
/socket
||
error
$SOCKETCLIENT
$DIR
/socket
||
error
$MUNLINK
$DIR
/socket
$MUNLINK
$DIR
/socket
...
@@ -2436,6 +2439,7 @@ run_test 59 "verify cancellation of llog records async ========="
...
@@ -2436,6 +2439,7 @@ run_test 59 "verify cancellation of llog records async ========="
TEST60_HEAD
=
"test_60 run
$RANDOM
"
TEST60_HEAD
=
"test_60 run
$RANDOM
"
test_60
()
{
test_60
()
{
[
!
-f
run-llog.sh
]
&&
echo
"missing subtest, skipping"
&&
return
log
"
$TEST60_HEAD
- from kernel mode"
log
"
$TEST60_HEAD
- from kernel mode"
sh run-llog.sh
sh run-llog.sh
}
}
...
@@ -2520,6 +2524,7 @@ test_64a () {
...
@@ -2520,6 +2524,7 @@ test_64a () {
run_test 64a
"verify filter grant calculations (in kernel) ====="
run_test 64a
"verify filter grant calculations (in kernel) ====="
test_64b
()
{
test_64b
()
{
[
!
-f
oos.sh
]
&&
echo
"missing subtest, skipping"
&&
return
sh oos.sh
$MOUNT
sh oos.sh
$MOUNT
}
}
run_test 64b
"check out-of-space detection on client ==========="
run_test 64b
"check out-of-space detection on client ==========="
...
...
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