preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

unknown switch `b' (git) #606

Open eserte opened 2 years ago

eserte commented 2 years ago

On some of my smoker systems (e.g. CentOS 8) t/deploy/git.t fails:

# Git version: 2.017001
    # No tests run!

#   Failed test 'No tests run for subtest "deploy"'
#   at t/deploy/git.t line 123.
error: unknown switch `b'
usage: git init [-q | --quiet] [--bare] [--template=<template-directory>] [--shared[=<permissions>]] [<directory>]

    --template <template-directory>
                          directory from which templates will be used
    --bare                create a bare repository
    --shared[=<permissions>]
                          specify that the git repository is to be shared amongst several users
    -q, --quiet           be quiet
    --separate-git-dir <gitdir>
                          separate git dir from working tree
 at t/deploy/git.t line 393.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 2.
t/deploy/git.t ................ 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests 

Also seen with Git version: 2.027000

eserte commented 2 years ago

... and: Git version: 1.008003 (CentOS 7).