Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / tests / hardlink5
1 #!/bin/sh
2 # $Id$
3
4 if test "X$FAST" != "X" ; then echo "Not running $0" ; exit 0 ; fi
5
6 FS=${FS:-${objdir}/../appl/fs/fs}
7
8 # Should not be able to create a hardlink across volumes. In this test
9 # ../../service is mounted on the separate volume. Suppress the expected
10 # error message from the ln command which clutters the test output.
11 touch file
12 ln file ../../service/file 2>/dev/null && (echo "hardlink ../../service/file should not have been created"; exit 1)
13 rm file
14