Last change
on this file since 2430 was 2421, checked in by Bruno Cornec, 15 years ago |
- Remove some compiler warnings on main
- Adds function mr_chomp and mr_strip_char and use them in mr_date and call_program_and_get_last_line_of_output
- Fix call_program_and_get_last_line_of_output to return the right result using a temp file instead of popen
- Fix an issue in mr_getline_int in case of eof (returns now an empty string)
- Sequencing of Init of bkpinfo reviewed
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Rev | Line | |
---|
[2247] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | # Call valgrind to test mondo
|
---|
[2421] | 4 | PTH=$HOME/
|
---|
[2247] | 5 |
|
---|
[2421] | 6 | sudo valgrind $PTH/pb/projects/mondorescue/build/BUILD/mondo-2.2.10/src/mondoarchive/mondoarchive -v
|
---|
| 7 | sudo valgrind --log-file=/tmp/val.log --show-reachable=yes --track-origins=yes --leak-check=full $PTH/pb/projects/mondorescue/build/BUILD/mondo-2.2.10/src/mondoarchive/mondoarchive -K 99 -Oi -I "/etc /var/lib/rpm" -d /home
|
---|
| 8 | sudo valgrind --log-file=/tmp/valg.log --show-reachable=yes --track-origins=yes --leak-check=full $PTH/pb/projects/mondorescue/build/BUILD/mondo-2.2.10/src/mondoarchive/mondoarchive -K 99 -Oi -g -G -I "/etc /var/lib/rpm" -E /etc/init.d -d /home
|
---|
| 9 | sudo valgrind --log-file=/tmp/valm.log --tool=massif --heap=yes --stacks=yes --alloc-fn=mr_malloc --massif-out-file=/tmp/valm.out $PTH/pb/projects/mondorescue/build/BUILD/mondo-2.2.10/src/mondoarchive/mondoarchive -K 99 -Oi -g -G -I "/etc /var/lib/rpm" -E /etc/init.d -d /home
|
---|
| 10 | sudo valgrind --log-file=/tmp/valc.log --tool=callgrind --callgrind-out-file=/tmp/valc.out $PTH/pb/projects/mondorescue/build/BUILD/mondo-2.2.10/src/mondoarchive/mondoarchive -K 99 -Oi -g -Y -I "/etc /var/lib/rpm" -T /tmp -S /var/spool/mondo -E /etc/init.d -d /home
|
---|
Note:
See
TracBrowser
for help on using the repository browser.