Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / tests / rename4
1 #!/bin/sh
2 # $Id$
3 mkdir old_parent new_parent old_parent/victim || exit 1
4 mv old_parent/victim new_parent || exit 1
5 test -d old_parent || exit 1
6 test -d new_parent || exit 1
7 test -d old_parent/victim && exit 1
8 test -d new_parent/victim || exit 1
9 rmdir new_parent/victim new_parent old_parent