~ubuntu-branches/ubuntu/oneiric/openafs/oneiric-201305130334

« back to all changes in this revision

Viewing changes to src/tests/hardlink5

  • Committer: Bazaar Package Importer
  • Author(s): Russ Allbery
  • Date: 2008-09-22 19:07:02 UTC
  • mfrom: (12.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080922190702-59m13d7kn6gkw32d
Tags: 1.4.7.dfsg1-6
* Apply upstream patch to free /proc entries in the correct order.
  Thanks, Marc Dionne.  (Closes: #493914)
* Apply upstream deltas to support 2.6.27 kernels and to stop using
  COMMON_KERN_CFLAGS for all 2.6 kernels uniformly, which fixes
  problems on amd64 with newer kernels.  Thanks, Björn Torkelsson.
  (LP: #267504)
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #493120)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# $Id: hardlink5,v 1.1 2002/01/14 07:49:17 shadow Exp $
 
2
# $Id: hardlink5,v 1.1.10.1 2008/01/21 19:50:32 shadow Exp $
3
3
 
4
4
if test "X$FAST" != "X" ; then echo "Not running $0" ;  exit 0 ; fi
5
5
 
6
6
FS=${FS:-${objdir}/../appl/fs/fs}
7
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.
8
11
touch file
9
 
ln file ../../service/file && exit 1
 
12
ln file ../../service/file 2>/dev/null && (echo "hardlink ../../service/file should not have been created"; exit 1)
10
13
rm file
11
14