More breakage for automated tests

Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Eric F Crist 2018-01-03 19:34:45 -06:00
parent 09e2c3b5c3
commit ef2e21e757
4 changed files with 11 additions and 2 deletions

View File

@ -13,3 +13,4 @@ script:
- bash -c 'export SHELLCHECK_OPTS="-e SC2006"; shopt -s globstar; shellcheck **/*.sh easyrsa3/easyrsa'
- bash -c 'pwd'
- bash -c 'ls -la'
- bash -c 'sh -x op_test.sh'

View File

@ -1,5 +1,5 @@
#!/bin/sh
# shellcheck disable=
# shellcheck disable=SC2162
# Easy-RSA 3 distribution packager:
# creates ready-to-use tarball files for Unixes and a zip file for windows
@ -91,7 +91,7 @@ stage_win() {
for f in $SRC_ROOT/doc/*.md;
do
fname=`basename $f .md`
fname=$(basename "$f" .md)
python -m markdown "$f" > "$DIST_ROOT/windows/$PV/doc/$fname.html"
done

View File

@ -1,4 +1,5 @@
#!/bin/sh
# shellcheck disable=SC2161,SC1091
# This script is a frontend designed to create & launch a POSIX shell
# environment suitable for use with Easy-RSA. mksh/Win32 is used with this
@ -24,6 +25,7 @@ for f in $extern_list; do
echo " files."
echo ""
echo " Press enter to exit."
#shellcheck disable=SC2162
read
exit 1
fi

6
op_test.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Runs some basic operational testing
cd easyrsa3 || exit 1
sh -x easyrsa init-pki --batch