OSDN Git Service

Thanos did someting
[bytom/vapor.git] / vendor / github.com / multiformats / go-multihash / test / sharness / t0020-sha1.sh
diff --git a/vendor/github.com/multiformats/go-multihash/test/sharness/t0020-sha1.sh b/vendor/github.com/multiformats/go-multihash/test/sharness/t0020-sha1.sh
deleted file mode 100644 (file)
index a5be58b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# Copyright (c) 2015 Christian Couder
-# MIT Licensed; see the LICENSE file in this repository.
-#
-
-test_description="sha1 tests"
-
-. lib/test-lib.sh
-
-test_expect_success "setup sha1 tests" '
-       echo "Hash me!" >hash_me.txt &&
-       SHA1=bc6f2c3cd945bc754789e50b2f68deee2f421810 &&
-       echo "1114$SHA1" >actual
-'
-
-test_expect_success "'multihash -a=sha1 -e=hex' works" '
-       multihash -a=sha1 -e=hex hash_me.txt >expected
-'
-
-test_expect_success "'multihash -a=sha1 -e=hex' output looks good" '
-       test_cmp expected actual
-'
-
-test_expect_success SHASUM "check hash using shasum" '
-       echo "$SHA1  hash_me.txt" >actual &&
-       $SHASUMBIN hash_me.txt >expected &&
-       test_cmp expected actual
-'
-
-test_done