Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HacKanCuBa committed Apr 26, 2017
1 parent 7cff0c1 commit ab320c0
Show file tree
Hide file tree
Showing 10 changed files with 1,178 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test-results/
trash directory.*
16 changes: 16 additions & 0 deletions tests/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file should be sourced by all test-scripts
#
# This scripts sets the following:
# $B2RSUM Full path to b2rsum script to test
# $TEST_HOME This folder

# We must be called from tests/ !!
TEST_HOME="$(pwd)"

. ./sharness.sh

B2RSUM="$TEST_HOME/../src/b2rsum.bash"
if [[ ! -e "$B2RSUM" ]]; then
echo "Could not find b2rsum.bash"
exit 1
fi
Loading

0 comments on commit ab320c0

Please sign in to comment.