OSDN Git Service
(root)
/
lha
/
olha.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
should not add signed operand to unsigned
[lha/olha.git]
/
test.sh
1
#!/bin/sh
2
3
set -ex
4
#VALGRIND="valgrind -q"
5
VALGRIND=
6
7
if [ -f olha.exe ]; then
8
cp olha.exe olha2
9
else
10
cp olha olha2
11
fi
12
$VALGRIND ./olha a foo.lzh olha2
13
lha t foo.lzh
14
./olha l foo.lzh
15
./olha xf foo.lzh olha2
16
if [ -f olha.exe ]; then
17
diff olha.exe olha2
18
else
19
diff olha olha2
20
fi
21
./olha a foo.lzh olha2
22
rm -f olha2 foo.lzh