Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
shells
ctypes.sh
test.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File test.sh of Package ctypes.sh
#!/bin/sh function expect() { local exitcode=$1 local have=$2 local want=$3 [[ $have = $want ]] && return 0 echo "test $exitcode failed - expected $want but got $have" exit $exitcode } . ctypes.sh out=`dlcall puts "puts-test-passed"` expect 11 "$out" puts-test-passed dlopen libm.so.6 dlcall -r double sin double:1.57079632679489661923 expect 12 "$DLRETVAL" double:1.000000 echo "all tests passed"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor