# Make sure that an error occurs when a directory is specified.
rm -rf create_no_dir
svms new -R create_no_dir create_no_dir
mkdir create_no_dir/foo
(cd create_no_dir ;					\
 if svms create foo ;			\
   then	echo "Command succeeded (incorrect)" ;	\
   else	echo "Command failed (correct)" ;	\
   fi)
create_no_dir/foo is of type "Directory" and is not allowed in a "svms create" command!
Command failed (correct)
rm -rf create_no_dir
