12f=$(mktemp stdio-f.XXXXXX)
13g=$(mktemp stdio-g.XXXXXX)
17 $exe $t.readFile $f > $g
18 if ! diff -u $f $g; then
20 echo FAIL: $t.readFile 1>&2
23 $exe $t.writeFile $f $t.writeFile
24 echo -n $t.writeFile > $g
25 if ! diff -u $f $g; then
27 echo FAIL: $t.writeFile 1>&2
31 $exe $t.appendFile $f $t.appendFile
32 echo -n quux$t.appendFile > $g
33 if ! diff -u $f $g; then
35 echo FAIL: $t.appendFile 1>&2
38 echo $t.interact | $exe $t.interact > $f
40 if ! diff -u $f $g; then
42 echo FAIL: $t.interact 1>&2
45 echo $t.getContents | $exe $t.getContents > $f
46 echo $t.getContents > $g
47 if ! diff -u $f $g; then
49 echo FAIL: $t.getContents 1>&2
52 echo $t.getLine | $exe $t.getLine > $f
54 if ! diff -u $f $g; then
56 echo FAIL: $t.getLine 1>&2
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list