Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Tests sanityn/1b,1c,1d depends to sanityn/1a and cannot be executed separately via set ONLY parameter.
Here is excerpts from sanityn.sh:
test_1a() {
touch $DIR1/f1
[ -f $DIR2/f1 ] || error
}
run_test 1a "check create on 2 mtpt's =========================="
test_1b() {
chmod 777 $DIR2/f1
$CHECKSTAT -t file -p 0777 $DIR1/f1 || error
chmod a-x $DIR2/f1
}
run_test 1b "check attribute updates on 2 mtpt's ==============="
test_1c() {
$CHECKSTAT -t file -p 0666 $DIR1/f1 || error
}
run_test 1c "check after remount attribute updates on 2 mtpt's ="
test_1d() {
rm $DIR2/f1
$CHECKSTAT -a $DIR1/f1 || error
}
To make these test run without failures we can join each next test with each previous ones, or join all of them into single one.