# gmt, Wed Feb 15 10:27:14 MST 1989

# make sure SRMOPTS is null
0 SRMOPTS=
0 export SRMOPTS

# check "looks like SR source-name" trap
1 srm -o out.sr

# check "not of the form file.sr" trap
1 srm file.notsr

# check that srm runs once
0 srm hello.sr

# check that it will run again and overwrite its own makefile
0 srm hello.sr

# check that it won't overwrite something else
0 echo "don't touch me" >Makefile
1 srm hello.sr

# check that it will overwrite an empty file
0 cp /dev/null Makefile
0 srm hello.sr

0 rm -rf Interfaces Makefile core exe *.out *.[chos]
