projects
/
elfdbg
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add tests cases for expected output
[elfdbg/.git]
/
tests
/
test_helper.sh
1
generate_bin_nodbg()
2
{
3
cat > bin.c << EOF
4
int
5
main(void) {
6
return (0);
7
}
8
EOF
9
/usr/bin/cc -o bin bin.c
10
/usr/bin/strip bin
11
}
12
13
generate_bin_dbg()
14
{
15
cat > bin.c << EOF
16
int
17
main(void) {
18
return (0);
19
}
20
EOF
21
/usr/bin/cc -g -o bin bin.c
22
}
23