Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 reyssat 1
#! /bin/sh
2
 
3
# sysmask test
4
../bin/true 2>/dev/null && {
5
 echo Cannot compile fortran77: security protection unavailable. >&2
6
 exit
7
}
8
 
9
echo "$wims_exec_parm" | sed 's/\$/\$/g;s/\&#start;//' >$tmp_dir/test.F
10
 
11
w_wims_priv_chroot=tmpdir
12
export w_wims_priv_chroot
13
ulimit -f 256
14
bin/ch..root g77 test.F -o test || exit
15
 
16
[ -s $tmp_dir/test ] || exit
17
 
18
rm -f $tmp_dir/test.F
19
ulimit -f 64
20
bin/ch..root /lib/ld-2.3.2.so ./test
21