~ubuntu-branches/ubuntu/warty/openafs/warty

« back to all changes in this revision

Viewing changes to src/tests/mkdir-lnk

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2004-01-10 16:37:33 UTC
  • Revision ID: james.westby@ubuntu.com-20040110163733-jvr0n1uahshlb1uu
Tags: upstream-1.2.11
ImportĀ upstreamĀ versionĀ 1.2.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
mkdir foo || exit 1
 
3
ls -ld foo | awk '{if($2 != 2) { exit(1) }}'  || exit 1
 
4
mkdir foo/1 || exit 1
 
5
ls -ld foo | awk '{if($2 != 3) { exit(1) }}'  || exit 1
 
6
mkdir foo/2 || exit 1
 
7
ls -ld foo | awk '{if($2 != 4) { exit(1) }}'  || exit 1
 
8
rmdir foo/1 || exit 1
 
9
ls -ld foo | awk '{if($2 != 3) { exit(1) }}'  || exit 1
 
10
rmdir foo/2 || exit 1
 
11
ls -ld foo | awk '{if($2 != 2) { exit(1) }}'  || exit 1
 
12
rmdir foo || exit 1