aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-02 12:02:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-05-02 12:02:20 +0000
commit08990bc46f8f0c60ba47d612287291c16280a0f8 (patch)
tree502a83c38936e46756d4445fbddd9886b2cc18c3
parent7c07c51c633bb172abd2a8d3d6d2334490ef2472 (diff)
downloadpaludis-08990bc46f8f0c60ba47d612287291c16280a0f8.tar.gz
paludis-08990bc46f8f0c60ba47d612287291c16280a0f8.tar.xz
Add a one second delay and an extra touch, to try to avoid tests occasionally failing when checking ctime / mtime
-rwxr-xr-xpaludis/util/fs_entry_TEST_setup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/util/fs_entry_TEST_setup.sh b/paludis/util/fs_entry_TEST_setup.sh
index 33ce73b..bec452e 100755
--- a/paludis/util/fs_entry_TEST_setup.sh
+++ b/paludis/util/fs_entry_TEST_setup.sh
@@ -6,9 +6,12 @@ cd fs_entry_TEST_dir || exit 3
mkdir dir_a || exit 4
ln -s dir_a symlink_to_dir_a || exit 5
touch dir_a/file_in_a || exit 6
+
touch all_perms || exit 7
chmod 777 all_perms || exit 8
touch no_perms || exit 9
+sleep 1
+echo > no_perms
chmod 000 no_perms || exit 10
echo -n '0123456789' > ten_bytes || exit 11
ln -s dir_a/file_in_a symlink_to_file_in_a || exit 12