02.t revision 166065
1166065Spjd#!/bin/sh 2166065Spjd# $FreeBSD: head/tools/regression/fstest/tests/symlink/02.t 166065 2007-01-17 01:42:12Z pjd $ 3166065Spjd 4166065Spjddesc="symlink returns ENAMETOOLONG if a component of the name2 pathname exceeded 255 characters" 5166065Spjd 6166065Spjddir=`dirname $0` 7166065Spjd. ${dir}/../misc.sh 8166065Spjd 9166065Spjdecho "1..7" 10166065Spjd 11166065Spjdn0=`namegen` 12166065Spjd 13166065Spjdexpect 0 symlink ${name255} ${n0} 14166065Spjdexpect 0 unlink ${n0} 15166065Spjdexpect 0 symlink ${n0} ${name255} 16166065Spjdexpect 0 unlink ${name255} 17166065Spjd 18166065Spjdexpect ENAMETOOLONG symlink ${n0} ${name256} 19166065Spjdexpect 0 symlink ${name256} ${n0} 20166065Spjdexpect 0 unlink ${n0} 21