3 # Copyright (c) 2003 Dan Nelson
6 # Please see src/share/examples/etc/bsd-style-copyright.
16 mkdir -p ${TMP} ${TMP}/mr ${TMP}/mt
18 touch -t 199901020304 ${TMP}/mr/oldfile
19 touch ${TMP}/mt/oldfile
21 mtree -c -p ${TMP}/mr > ${TMP}/_
23 mtree -U -r -p ${TMP}/mt < ${TMP}/_ > /dev/null
25 x=x`(cd ${TMP}/mr ; ls -l 2>&1) || true`
26 y=x`(cd ${TMP}/mt ; ls -l 2>&1) || true`
28 if [ "$x" != "$y" ] ; then
29 echo "ERROR Update of mtime failed" 1>&2