1#!/bin/sh 2# $FreeBSD: src/tools/regression/fstest/tests/rmdir/05.t,v 1.1 2007/01/17 01:42:11 pjd Exp $ 3 4desc="rmdir returns ELOOP if too many symbolic links were encountered in translating the pathname" 5 6n0=`namegen` 7n1=`namegen` 8 9expect 0 symlink ${n0} ${n1} 10expect 0 symlink ${n1} ${n0} 11expect ELOOP rmdir ${n0}/test 12expect ELOOP rmdir ${n1}/test 13expect 0 unlink ${n0} 14expect 0 unlink ${n1} 15