mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 01:12:24 +08:00
sharness: override test_cmp for verbose
This commit is contained in:
@ -31,6 +31,13 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# overriding testcmp to make it use fsh (to see it better in output)
|
||||||
|
# have to do it twice so the first diff output doesnt show unless it's
|
||||||
|
# broken.
|
||||||
|
test_cmp() {
|
||||||
|
diff -q "$@" >/dev/null || fsh diff -u "$@"
|
||||||
|
}
|
||||||
|
|
||||||
# Please put go-ipfs specific shell functions below
|
# Please put go-ipfs specific shell functions below
|
||||||
|
|
||||||
test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE
|
test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE
|
||||||
|
Reference in New Issue
Block a user