basic.sh 899 B

12345678910111213141516171819202122232425
  1. # basic.sh -- check cuirass basic behavior
  2. # Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
  3. # This file is part of Cuirass.
  4. # Cuirass is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. # Cuirass is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with Cuirass. If not, see <http://www.gnu.org/licenses/>.
  14. db_file=${testbuilddir}/test.db
  15. spec_file=${testsrcdir}/hello-subset.scm
  16. trap 'rm -f "$db_file"' EXIT
  17. cuirass --database $db_file --one-shot $spec_file