comparison tests/test-obsolete.t @ 28172:f2004e4908f3

test-obsolete: conditionalize a test dependent on chmod
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 20 Jan 2016 21:56:37 -0500
parents 97e0dc6d248c
children 5ab6f0fde75f
comparison
equal deleted inserted replaced
28171:2d20d1d2ea76 28172:f2004e4908f3
958 corrupted hidden cache 958 corrupted hidden cache
959 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol) 959 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol)
960 $ hg log -r . -T '{node}' --debug 960 $ hg log -r . -T '{node}' --debug
961 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol) 961 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol)
962 962
963 #if unix-permissions
963 Check that wrong hidden cache permission does not crash 964 Check that wrong hidden cache permission does not crash
964 965
965 $ chmod 000 .hg/cache/hidden 966 $ chmod 000 .hg/cache/hidden
966 $ hg log -r . -T '{node}' --debug 967 $ hg log -r . -T '{node}' --debug
967 cannot read hidden cache 968 cannot read hidden cache
968 error writing hidden changesets cache 969 error writing hidden changesets cache
969 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol) 970 8fd96dfc63e51ed5a8af1bec18eb4b19dbf83812 (no-eol)
971 #endif
970 972
971 Test cache consistency for the visible filter 973 Test cache consistency for the visible filter
972 1) We want to make sure that the cached filtered revs are invalidated when 974 1) We want to make sure that the cached filtered revs are invalidated when
973 bookmarks change 975 bookmarks change
974 $ cd .. 976 $ cd ..