Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / src / tests / hardlink5
CommitLineData
805e021f
CE
1#!/bin/sh
2# $Id$
3
4if test "X$FAST" != "X" ; then echo "Not running $0" ; exit 0 ; fi
5
6FS=${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.
11touch file
12ln file ../../service/file 2>/dev/null && (echo "hardlink ../../service/file should not have been created"; exit 1)
13rm file
14