test-lib: --valgrind should not override --verbose-log
[gitweb.git] / t / test-lib.sh
index 5e3ca30ab3b4e9e74b953dc77587ae35deb60cf2..62461a6e350fa6aad4ce2d776d21044d1d20d1a3 100644 (file)
@@ -274,7 +274,7 @@ then
        test -z "$verbose" && verbose_only="$valgrind_only"
 elif test -n "$valgrind"
 then
-       verbose=t
+       test -z "$verbose_log" && verbose=t
 fi
 
 if test -n "$color"
@@ -990,9 +990,6 @@ case $uname_s in
        find () {
                /usr/bin/find "$@"
        }
-       sum () {
-               md5sum "$@"
-       }
        # git sees Windows-style pwd
        pwd () {
                builtin pwd -W