Merge pull request #1230 from ggtakec/fix_test

Fixed removing test file in integration-test-main.sh
This commit is contained in:
Takeshi Nakatani 2020-01-27 00:39:50 +09:00 committed by GitHub
commit 87224b830b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -466,6 +466,8 @@ function test_symlink {
[ -L $ALT_TEST_TEXT_FILE ]
[ ! -f $ALT_TEST_TEXT_FILE ]
rm -f $ALT_TEST_TEXT_FILE
}
function test_extended_attributes {
@ -487,6 +489,8 @@ function test_extended_attributes {
del_xattr key1 $TEST_TEXT_FILE
! get_xattr key1 $TEST_TEXT_FILE
get_xattr key2 $TEST_TEXT_FILE | grep -q '^value2$'
rm_test_file
}
function test_mtime_file {
@ -517,6 +521,9 @@ function test_mtime_file {
echo "File times do not match: $testmtime != $altmtime"
return 1
fi
rm_test_file
rm_test_file $ALT_TEST_TEXT_FILE
}
function test_update_time() {
@ -566,6 +573,8 @@ function test_update_time() {
echo "Expected updated ctime: $ctime4 != $ctime5 and updated mtime: $mtime4 != $mtime5"
return 1
fi
rm_test_file
}
function test_rm_rf_dir {