Remove all of the syncs
They're unnecessary as shown by further testing on my VM Requested by: jhb
This commit is contained in:
@@ -72,8 +72,6 @@ create_test_inputs()
|
|||||||
atf_check -e empty -s exit:0 touch 0b00001101
|
atf_check -e empty -s exit:0 touch 0b00001101
|
||||||
atf_check -e empty -s exit:0 touch 0b00001110
|
atf_check -e empty -s exit:0 touch 0b00001110
|
||||||
atf_check -e empty -s exit:0 touch 0b00001111
|
atf_check -e empty -s exit:0 touch 0b00001111
|
||||||
|
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
}
|
}
|
||||||
|
|
||||||
KB=1024
|
KB=1024
|
||||||
@@ -100,8 +98,6 @@ create_test_inputs2()
|
|||||||
count=1 oseek=$(( $filesize / $MB )) conv=sparse
|
count=1 oseek=$(( $filesize / $MB )) conv=sparse
|
||||||
files="${files} ${filesize}.file"
|
files="${files} ${filesize}.file"
|
||||||
done
|
done
|
||||||
|
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
}
|
}
|
||||||
|
|
||||||
atf_test_case A_flag
|
atf_test_case A_flag
|
||||||
@@ -815,16 +811,12 @@ t_flag_body()
|
|||||||
atf_check -e empty -o empty -s exit:0 touch a.file
|
atf_check -e empty -o empty -s exit:0 touch a.file
|
||||||
atf_check -e empty -o empty -s exit:0 touch b.file
|
atf_check -e empty -o empty -s exit:0 touch b.file
|
||||||
|
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
|
|
||||||
atf_check -e empty -o match:'a\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
|
atf_check -e empty -o match:'a\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
|
||||||
atf_check -e empty -o match:'b\.file.*a\.file' -s exit:0 ls -Ct
|
atf_check -e empty -o match:'b\.file.*a\.file' -s exit:0 ls -Ct
|
||||||
|
|
||||||
atf_check -e empty -o empty -s exit:0 rm a.file
|
atf_check -e empty -o empty -s exit:0 rm a.file
|
||||||
atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
|
atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
|
||||||
|
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
|
|
||||||
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
|
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lt | tail -n 1'
|
||||||
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Ct
|
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Ct
|
||||||
}
|
}
|
||||||
@@ -841,14 +833,12 @@ u_flag_body()
|
|||||||
|
|
||||||
atf_check -e empty -o empty -s exit:0 touch a.file
|
atf_check -e empty -o empty -s exit:0 touch a.file
|
||||||
atf_check -e empty -o empty -s exit:0 touch b.file
|
atf_check -e empty -o empty -s exit:0 touch b.file
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
|
|
||||||
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
|
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
|
||||||
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
|
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
|
||||||
|
|
||||||
atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
|
atf_check -e empty -o empty -s exit:0 sh -c 'echo "i am a" > a.file'
|
||||||
atf_check -e empty -o match:'i am a' -s exit:0 cat a.file
|
atf_check -e empty -o match:'i am a' -s exit:0 cat a.file
|
||||||
atf_check -e empty -s exit:0 sync
|
|
||||||
|
|
||||||
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
|
atf_check -e empty -o match:'b\.file' -s exit:0 sh -c 'ls -lu | tail -n 1'
|
||||||
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
|
atf_check -e empty -o match:'a\.file.*b\.file' -s exit:0 ls -Cu
|
||||||
|
|||||||
Reference in New Issue
Block a user