Added plugins and build tools

This commit is contained in:
2021-12-09 00:58:28 +01:00
parent a0d68a606c
commit eefe53a438
46 changed files with 4049 additions and 1 deletions

View File

@ -0,0 +1,28 @@
#!/bin/bash
SUT=$(realpath "$(dirname "$0")/../makeself.sh")
setupTests() {
temp=$(mktemp -d -t XXXXX)
pushd "${temp}"
mkdir -p src/.git
echo "echo This is a test" > src/startup.sh
}
tearDown() {
popd
rm -rf "${temp}"
}
testTarExtraOpts() {
setupTests
tar_extra="--verbose --exclude .git"
${SUT} --tar-extra "$tar_extra" src src.sh alabel startup.sh
assertEqual $? 0
tearDown
}
source bashunit/bashunit.bash