2016-06-07 21:02:11 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
set -e
|
2016-07-05 16:20:10 +02:00
|
|
|
set -x
|
2016-06-07 21:02:11 +02:00
|
|
|
|
2016-07-05 16:20:10 +02:00
|
|
|
python3 -m asciinema -h
|
2016-07-05 16:52:08 +02:00
|
|
|
|
2016-07-05 16:20:10 +02:00
|
|
|
python3 -m asciinema --version
|
2016-07-05 16:52:08 +02:00
|
|
|
|
2016-07-05 16:20:10 +02:00
|
|
|
python3 -m asciinema auth
|
2016-07-05 16:52:08 +02:00
|
|
|
|
|
|
|
|
python3 -m asciinema rec -c who __tmp.json && rm __tmp.json
|
|
|
|
|
|
|
|
|
|
bash -c "sleep 1; pkill -28 -f 'thon -m asciinema'" &
|
|
|
|
|
python3 -m asciinema rec -c 'bash -c "echo t3st; sleep 2; echo ok"' __tmp.json && rm __tmp.json
|
|
|
|
|
|
|
|
|
|
bash -c "sleep 1; pkill -f 'bash -c echo t3st'" &
|
|
|
|
|
python3 -m asciinema rec -c 'bash -c "echo t3st; sleep 2; echo ok"' __tmp.json && rm __tmp.json
|
|
|
|
|
|
|
|
|
|
bash -c "sleep 1; pkill -9 -f 'bash -c echo t3st'" &
|
|
|
|
|
python3 -m asciinema rec -c 'bash -c "echo t3st; sleep 2; echo ok"' __tmp.json && rm __tmp.json
|