spiegel-keyman/resources/build/tests/trees/test.sh
2023-02-15 11:21:10 +07:00

17 lines
No EOL
405 B
Bash
Executable file

#!/usr/bin/env bash
set -eu
./build.sh clean configure build install test
if [ $(ls child?.* | wc -l) -ne 14 ]; then
echo unexpected output file count
exit 1
fi
./build.sh error && (echo should not have passed; exit 1) || (echo " ... build returned error as expected")
./build.sh install:child1 test:child2
if [ $(ls child?.* | wc -l) -ne 2 ]; then
echo unexpected output file count
exit 1
fi