repo.or.cz
/
geda-gaf
/
berndj.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use new text accessors.
[geda-gaf/berndj.git]
/
libgeda
/
tests
/
uuidgen.sh
blob
dfd7e81e77f0d37693735e3036811cdda3d24e4e
1
#!/bin/sh
2
3
if
test
"x
$srcdir
"
=
x
;
then
4
srcdir
=
.
5
fi
6
7
uuids
=
`mktemp -t ugXXXXXX`
8
for
i
in
1 2 3 4 5 6 7 8 9 10
;
do
9
$srcdir
/
uuidgen
>>
$uuids
10
done
11
12
lines
=
`sort -u
$uuids
|wc -l`
13
test
$lines
=
10
14
status
=
$?
15
16
rm
-f
uuids
17
18
exit
$status