1 rizwank 1.1 #!/bin/sh 2 # 3 # Test getenv() primitive. 4 # 5 6 . $srcdir/defs || exit 1 7 8 STATES_DATA=ok 9 export STATES_DATA 10 11 result=`$states --state=test_primgetenv $srcdir/defs 2>&1` 12 13 if test "X$result" != "X"; then 14 exit 1; 15 fi