A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Documentation fixups: do not mess with doxygen by adding useless # (which are meta...
[simgrid.git]
/
tools
/
tesh
/
set-return.tesh
1
#! ./tesh
2
# This suite builds and uses a program returning 1.
3
# tesh is instructed of this return code and must not whine.
4
5
$ rm -rf temp_testdir
6
$ mkdir temp_testdir
7
8
$ cd temp_testdir
9
< #include <stdlib.h>
10
< int main(void) {
11
< exit(1);
12
< }
13
$ cat > return1.c
14
15
$ gcc -o return1 return1.c
16
17
! expect return 1
18
$ ./return1
19
$ cd ..
20
$ rm -rf temp_testdir