*** empty log message ***
[arla.git] / tests / check-sysname
blob3d6f55770e29528da809127d2b8b02aefd2792c2
1 #!/bin/sh
2 # $Id$
3 FS=${FS:-${objdir}/../appl/fs/fs}
5 s=`$FS sysname | cut -f2 -d\'`
6 test "X$s" != X || exit 1
7 mkdir $s || exit 1
8 touch $s/1 || exit 1
9 ln -s @sys a || exit 1
10 test -f a/1 || exit 1
11 mkdir kaka$s || exit 1
12 touch kaka$s/2 || exit 1
13 ln -s kaka@sys b || exit 1
14 test -f b/2 || exit 1
15 exit 0