File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ FreeBSD_task:
2323 build_script :
2424 - ./build/ci/build.sh -a build
2525 test_script :
26- - ./build/ci/build.sh -a test
26+ - env SKIP_TEST_RESTORE_ATIME=1 ./build/ci/build.sh -a test
2727 - ./build/ci/cirrus_ci/ci.sh test
2828 install_script :
2929 - ./build/ci/build.sh -a install
Original file line number Diff line number Diff line change @@ -1047,7 +1047,14 @@ test_restore_atime(void)
10471047 size_t size ;
10481048 int64_t offset ;
10491049 int file_count ;
1050-
1050+ const char * skip_test_restore_atime ;
1051+
1052+ skip_test_restore_atime = getenv ("SKIP_TEST_RESTORE_ATIME" );
1053+ if (skip_test_restore_atime != NULL ) {
1054+ skipping ("Skipping restore atime tests due to "
1055+ "SKIP_TEST_RESTORE_ATIME environment variable" );
1056+ return ;
1057+ }
10511058 if (!atimeIsUpdated ()) {
10521059 skipping ("Can't test restoring atime on this filesystem" );
10531060 return ;
You can’t perform that action at this time.
0 commit comments