blob: 141e32067dd7d6b775c0841266fab7ffe0d8654c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
test_splitfits_data1() {
local datafile
local retval
retval=0
datafile=$(get_data generic/fits/sample.fits)
[[ ! -f ${datafile} ]] && return 1
if ! ${test_program} -o ${test_case} ${datafile}; then
return 1
fi
set +x
return $retval
}
test_splitfits_combine_data1() {
local datafile
local retval
retval=0
datafile=$(get_data generic/fits/sample.fits)
[[ ! -f ${datafile} ]] && return 1
if ! ${test_program} -o ${test_case} ${datafile}; then
return 1
fi
if ! ${test_program} -c ${test_case}/$(basename ${datafile}).part_map; then
return 1
fi
set +x
return $retval
}
|