repo.or.cz
/
quincer.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix an issue where the pattern doesn't advance,
[quincer.git]
/
test
/
08tickbar.test
blob
9194694ef3dab5a05209318dac2e670582f9daee
1
#!/bin/sh
2
set -x
3
input
=
$
(
mktemp
)
4
output
=
$
(
mktemp
)
5
6
die
() {
7
echo
output was
8
cat
$output
9
rm
-f
$input $output
10
exit
1
11
}
12
13
cat
>
$input
<<EOF
14
pattern 120 0.2
15
i 78 80
16
j 90 70
17
0...'...'.||||||
18
EOF
19
20
.
/
lexdump
$input
|
tee
$output
21
[
$?
=
0
]
|| die
22
23
grep
"ticks_per_beat: 4"
$output
|| die
24
grep
"beats_per_bar: 3"
$output
|| die
25
26
rm
-f
$input $output