From 0981bcfd2f1cbc40d7d4f8df90fd3897ec43f8d6 Mon Sep 17 00:00:00 2001 From: Sverre Rabbelier Date: Thu, 5 Jun 2008 12:44:07 +0200 Subject: [PATCH] Added a basic test that sets up our test repository. This basic testcase creates a test repository but aside from that doesn't do anything else yet. --- src/t/t8100-stats.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 src/t/t8100-stats.sh diff --git a/src/t/t8100-stats.sh b/src/t/t8100-stats.sh new file mode 100755 index 0000000..c82d9fb --- /dev/null +++ b/src/t/t8100-stats.sh @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Copyright (c) 2008 Sverre Rabbelier +# + +test_description='stats tests (basics) + +This test verifies that the basic stats commands work as expected.' + +. ./test-lib.sh + +test_expect_success pre-clean ' + rm -fr "/tmp/freshrepo" || { + trap - exit + echo >&5 "FATAL: Cannot clean the fresh repo" + exit 1 + } +' + +test_expect_success setup ' + ../../scripts/setupRepo.py +' + +test_done + -- 2.11.4.GIT