Commit 7181bb40 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Warn if gen-test.sh would write new files into non-empty dir.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent a4525f59
#!/bin/bash
mkdir -p test
if [ ! -z "$(ls test)" ]; then
echo test dir not empty
exit 1
fi
seq=1
cat test_list | while read f
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment