1
0
Fork 0
mirror of https://github.com/on4kjm/FLEcli.git synced 2025-02-18 12:51:02 +01:00
FLEcli/test/test.sh

19 lines
625 B
Bash
Raw Normal View History

2020-06-23 13:36:35 +02:00
#!/bin/bash
2020-06-23 14:42:14 +02:00
set -e
2020-07-16 17:24:40 +02:00
./build.sh
2020-08-12 18:10:23 +02:00
2020-06-23 13:36:35 +02:00
echo "--------------------------"
2020-08-12 18:10:23 +02:00
./FLEcli load -i test/data/fle-1.txt
2020-06-23 13:36:35 +02:00
echo "--------------------------"
2020-08-12 18:10:23 +02:00
./FLEcli load -i test/data/ON4KJM@ONFF-025920200524.txt
2020-06-23 13:36:35 +02:00
echo "--------------------------"
2020-08-12 18:10:23 +02:00
mkdir -p test/output/temp
./FLEcli csv -o -i test/FLE-sample/sota_wwff.txt test/output/temp/sota_wwff.csv
2020-07-16 20:14:52 +02:00
diff test/output/temp/sota_wwff.csv test/FLE-sample/sota_wwff.csv --strip-trailing-cr && echo "no difference" || echo "differences!"
echo "--------------------------"
./FLEcli -i test/FLE-sample/sota_wwff.txt adif -o=test/output/temp/sota_wwff.adif --interpolate --overwrite --wwff --sota