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 pascal: security protection unavailable. >&2
6
 exit
7
}
8
 
9
echo "$wims_exec_parm" | sed 's/\$/\$/g' >$tmp_dir/test.pas
10
 
11
w_wims_priv_chroot=tmpdir
12
export w_wims_priv_chroot
13
ulimit -f 512
14
bin/ch..root gpc test.pas -o test || exit
15
 
16
[ -s $tmp_dir/test ] || exit
17
 
18
rm -f $tmp_dir/test.pas
19
ulimit -f 64
20
bin/ch..root /lib/ld-2.3.2.so ./test
21