$NetBSD$

--- tests/admin/y-flag.sh.orig	2004-10-10 12:51:16.000000000 +0200
+++ tests/admin/y-flag.sh
@@ -16,7 +16,7 @@ remove $s $g $z foo command.log last.com
 remove expected.stderr got.stderr expected.stdout got.stdout
 
 # Figure out if we ahous expect the thing to work.
-if admin -n -i/dev/null -fyM ${s} >/dev/null 2>&1 || $TESTING_CSSC
+if ${admin} -n -i/dev/null -fyM ${s} >/dev/null 2>&1 || $TESTING_CSSC
 then
     echo "We are testing an SCCS implementation that supports the y flag.  Good."
 else
@@ -26,6 +26,7 @@ else
     success
     exit 0
 fi
+remove s.bar
 
 
 remove foo
