From fe30eb7e82e1cb3c2e3e4071df1f33ef459d9ae2 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sun, 3 Jul 2016 16:50:27 +0200 Subject: Add 'basic.sh' test. --- tests/basic.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tests/basic.sh (limited to 'tests/basic.sh') diff --git a/tests/basic.sh b/tests/basic.sh new file mode 100644 index 0000000..f265958 --- /dev/null +++ b/tests/basic.sh @@ -0,0 +1,24 @@ +# basic.sh -- check cuirass basic behavior +# Copyright © 2016 Mathieu Lirzin + +# This file is part of Cuirass. + +# Cuirass is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# Cuirass is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with Cuirass. If not, see . + +db_file=${testbuilddir}/test.db +spec_file=${testsrcdir}/hello-subset.scm + +trap 'rm -f "$db_file"' EXIT + +cuirass --database $db_file --one-shot $spec_file -- cgit v1.2.3