Teach tree_entry_interesting() that the tree entries are sorted.
[gitweb.git] / t / test-lib.sh
index a403fe042b9fbf4d25bd567d8e5c5219743e9192..c0754747fbc250274f069901703159ffd23faf86 100755 (executable)
@@ -264,6 +264,12 @@ test -d ../templates/blt || {
        error "You haven't built things yet, have you?"
 }
 
+if ! test -x ../test-chmtime; then
+       echo >&2 'You need to build test-chmtime:'
+       echo >&2 'Run "make test-chmtime" in the source (toplevel) directory'
+       exit 1
+fi
+
 # Test repository
 test=trash
 rm -fr "$test"