#!/bin/sh

set -e
set -u

export HOME=$AUTOPKGTEST_TMP

cp -a Applications/Gorm/English.lproj/Gorm.gorm $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP

gormtool --export-strings-file gorm.strings Gorm.gorm
grep "^\"Info Panel" gorm.strings
gormtool --export-class Gorm Gorm.gorm
grep testInterface Gorm.h
grep testInterface Gorm.m
