summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
180a82f)
i=Adilger
fail tests if lustre is not mounted
############### Second Failure Mode ###############
test_2() {
echo "Verify Lustre filesystem is up and running"
############### Second Failure Mode ###############
test_2() {
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
test_3() {
#Create files
echo "Verify Lustre filesystem is up and running"
test_3() {
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
#MDS Portion
facet_failover mds
#MDS Portion
facet_failover mds
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 2
client_df
client_touch testfile || return 2
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 1
client_df
client_touch testfile || return 1
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile
client_df
client_touch testfile
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile
client_df
client_touch testfile
#Create files
echo "Verify Lustre filesystem is up and running"
#Create files
echo "Verify Lustre filesystem is up and running"
- [ -z "$(mounted_lustre_filesystems)" ] && skip "Lustre is not running" && return
+ [ -z "$(mounted_lustre_filesystems)" ] && error "Lustre is not running"
client_df
client_touch testfile || return 1
client_df
client_touch testfile || return 1