compat: some mkdir() do not like a slash at the end
[gitweb.git] / contrib / mw-to-git / t / test-gitmw-lib.sh
index 14f65771d694e3873fe762a8c35c186bfcee3e8e..3b2cfacf512b0476c157e475b3ad6ea15cadeb2b 100755 (executable)
@@ -26,6 +26,9 @@ else
        WIKI_DIR_INST="$CURR_DIR/$WEB_WWW"
 fi
 
+wiki_upload_file () {
+       "$CURR_DIR"/test-gitmw.pl upload_file "$@"
+}
 
 wiki_getpage () {
        "$CURR_DIR"/test-gitmw.pl get_page "$@"