mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
appveyor: use a POSIX prereq
License: MIT Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
This commit is contained in:
parent
aa592b841e
commit
ea8d8aaa13
@ -12,8 +12,8 @@ clone_folder: c:\go\src\github.com\ipfs\go-ipfs
|
||||
|
||||
environment:
|
||||
GOPATH: c:\gopath
|
||||
TEST_VERBOSE: 1
|
||||
#TEST_NO_FUSE: 1
|
||||
#TEST_VERBOSE: 1
|
||||
#TEST_SUITE: test_sharness_expensive
|
||||
#GOFLAGS: -tags nofuse
|
||||
global:
|
||||
|
||||
@ -44,10 +44,14 @@ test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE
|
||||
test "$TEST_EXPENSIVE" = 1 && test_set_prereq EXPENSIVE
|
||||
test "$TEST_NO_DOCKER" != 1 && type docker && test_set_prereq DOCKER
|
||||
|
||||
TEST_OS=$(uname -s | tr [a-z] [A-Z])
|
||||
test expr "$TEST_OS" : "CYGWIN_NT" >/dev/null && test_set_prereq POSIX
|
||||
|
||||
if test "$TEST_VERBOSE" = 1; then
|
||||
echo '# TEST_VERBOSE='"$TEST_VERBOSE"
|
||||
echo '# TEST_NO_FUSE='"$TEST_NO_FUSE"
|
||||
echo '# TEST_EXPENSIVE='"$TEST_EXPENSIVE"
|
||||
echo '# TEST_OS='"$TEST_OS"
|
||||
fi
|
||||
|
||||
# source our generic test lib
|
||||
|
||||
@ -19,7 +19,7 @@ test_expect_success "ipfs init fails" '
|
||||
test_must_fail ipfs init 2> init_fail_out
|
||||
'
|
||||
|
||||
test_expect_success "ipfs init output looks good" '
|
||||
test_expect_success POSIX "ipfs init output looks good" '
|
||||
echo "Error: failed to take lock at $IPFS_PATH: permission denied" > init_fail_exp &&
|
||||
test_cmp init_fail_exp init_fail_out
|
||||
'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user