1#!/bin/sh 2# $FreeBSD: src/tools/regression/fstest/tests/chown/02.t,v 1.1 2007/01/17 01:42:08 pjd Exp $ 3 4desc="chown returns ENAMETOOLONG if a component of a pathname exceeded 255 characters" 5expect 0 create ${name255} 0644 6expect 0 chown ${name255} 65534 65534 7expect 65534,65534 stat ${name255} uid,gid 8expect 0 unlink ${name255} 9expect ENAMETOOLONG chown ${name256} 65533 65533 10