Created
August 31, 2016 06:56
-
-
Save kinow/8f9da3a3df9f0bfe0893aaba8a5efe32 to your computer and use it in GitHub Desktop.
Creating random TAP files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
r=$(( RANDOM%10 )) | |
for ((i=1; i<=r; i++)); do | |
echo "Creating file result_$i.tap" | |
cat > "result_$i.tap" <<EOF | |
1..1 | |
ok 1 | |
EOF | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment