Skip to content

Commit ae199ed

Browse files
committed
Let distrotest fail fast when there remaining executables
1 parent 7cfcf6d commit ae199ed

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test/distrotest

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ exit 0
2525
echo "Deleting 'dist' and 'dist-newstyle'..."
2626
rm -rf dist dist-newstyle
2727

28+
execs=$(find . -name shellcheck)
29+
30+
if [ -n "$execs" ]
31+
then
32+
die "Found unexpected executables. Remove and try again: $execs"
33+
fi
34+
2835
log=$(mktemp) || die "Can't create temp file"
2936
date >> "$log" || die "Can't write to log"
3037

0 commit comments

Comments
 (0)