repo.or.cz
/
arla.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
*** empty log message ***
[arla.git]
/
tests
/
check-sysname
blob
3d6f55770e29528da809127d2b8b02aefd2792c2
1
#!/bin/sh
2
# $Id$
3
FS
=
${FS:-${objdir}/../appl/fs/fs}
4
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