fix dumptool on macos
[openafs.git] / src / tests / rename3
1 #!/bin/sh
2 # $Id$
3 echo foo > foo || exit 1
4 sed 's/foo/bar/' foo > bar || exit 1
5 rm foo || exit 1
6 test -f foo && exit 1
7 mv bar foo || exit 1
8 test -f bar && exit 1
9 test -f foo || exit 1