]> git.sur5r.net Git - bacula/bacula/blob - regress/make-ctest-adds
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / make-ctest-adds
1 #!/bin/sh
2 #
3 # Copyright (C) 2000-2015 Kern Sibbald
4 # License: BSD 2-Clause; see file LICENSE-FOSS
5 #
6
7 #
8 # This script automatically builds the ADD_TEST commands by
9 # searching for them in the old files
10 #
11
12 for run in all-non-root-2tape all-non-root-tape all-non-root all-root all-tape-and-file ; do
13     for test in `grep -h tests/ ${run}-tests | grep -v '^#' | sed -e 's,^.*tests/,,'` ; do
14         echo ADD_TEST\(${run}:${test} \"@regressdir@/tests/${test}\"\)
15     done
16 done