]> code.delx.au - gnu-emacs/commit
Add vc-backend and vc-responsible-backend tests
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 9 Apr 2016 19:14:40 +0000 (21:14 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 9 Apr 2016 19:14:40 +0000 (21:14 +0200)
commit5e1c32e7916420a447b060a4ff2507364aff41a4
tree3b497ce863abd971c6c866ee9ac40abdf975f2f2
parent6b0d58be9f6caa2fc4125ed98294e1937ee56d2a
Add vc-backend and vc-responsible-backend tests

* lisp/vc/vc-hooks.el (vc-file-setprop, vc-file-getprop)
(vc-file-clearprops): Use properties on absolute files.

* test/lisp/vc/vc-tests.el (vc-test--unregister-function):
Clear file properties.
(vc-test--register): Add tests for `vc-backend' and
`vc-responsible-backend'.  Catch other errors but `vc-not-supported'.
(vc-test--state, vc-test--checkout-model): Catch other errors
but `vc-not-supported'.
(vc-test--working-revision): Fix test for RCS and SCCS.  Catch
other errors but `vc-not-supported'.
(vc-test-src02-state): Mark as an expected failure.
lisp/vc/vc-hooks.el
test/lisp/vc/vc-tests.el