os_labs/scripts/run_all.sh

16 lines
233 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
echo -e "\nTesting script started...\n"
while IFS= read -r -d '' FILE
do
echo "Executing $FILE..."
$FILE
done< <(find "$1" -name '*_run' -print0 | sort -z)
echo "Fin."
echo