1#!/bin/sh 2# $FreeBSD: src/tools/regression/fstest/tests/symlink/08.t,v 1.1 2007/01/17 01:42:11 pjd Exp $ 3 4desc="symlink returns EEXIST if the name2 argument already exists" 5 6n0=`namegen` 7 8expect 0 create ${n0} 0644 9expect EEXIST symlink test ${n0} 10expect 0 unlink ${n0} 11 12expect 0 mkdir ${n0} 0755 13expect EEXIST symlink test ${n0} 14expect 0 rmdir ${n0} 15 16expect 0 symlink test ${n0} 17expect EEXIST symlink test ${n0} 18expect 0 unlink ${n0} 19