1
0
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:
Juan Batiz-Benet
2015-01-04 22:53:21 -08:00
parent acf4759758
commit e407c2ef83

View File

@ -31,6 +31,13 @@ SHARNESS_LIB="lib/sharness/sharness.sh"
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
test "$TEST_NO_FUSE" != 1 && test_set_prereq FUSE