Init.
This commit is contained in:
commit
41ee5c3be8
12 changed files with 841 additions and 0 deletions
1
test/.gitignore
vendored
Normal file
1
test/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/wdir
|
25
test/run
Executable file
25
test/run
Executable file
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/bash
|
||||
set -e
|
||||
cd "$(dirname "$(realpath "$0")")"
|
||||
|
||||
|
||||
../build
|
||||
rm -fr wdir
|
||||
mkdir wdir wdir/rec wdir/play
|
||||
|
||||
|
||||
../target/x86_64-unknown-linux-musl/release/fsr-rec wdir/rec wdir/scenario.ron &
|
||||
rec_pid=$!
|
||||
|
||||
|
||||
sleep 2s
|
||||
echo "lorem" >> wdir/rec/main.txt
|
||||
sleep 2s
|
||||
echo "ipsum" >> wdir/rec/main.txt
|
||||
sleep 2s
|
||||
echo "dolor" >> wdir/rec/main.txt
|
||||
sleep 2s
|
||||
kill -INT $rec_pid
|
||||
|
||||
|
||||
../target/x86_64-unknown-linux-musl/release/fsr-play wdir/scenario.ron wdir/play
|
Loading…
Add table
Add a link
Reference in a new issue