ignore-value: handle pointer types, too
[gnulib.git] / tests / test-canonicalize-lgpl.sh
1 #!/bin/sh
2
3 tmpfiles=""
4 trap 'rm -fr $tmpfiles' 1 2 3 15
5
6 tmpfiles="$tmpfiles t-can-lgpl.tmp ise"
7 mkdir t-can-lgpl.tmp
8 ln -s t-can-lgpl.tmp/ket ise \
9   || { echo "Skipping test: symbolic links not supported on this filesystem"
10        rm -fr $tmpfiles
11        exit 77
12      }
13 (cd t-can-lgpl.tmp \
14  && ln -s bef plo \
15  && ln -s tra huk \
16  && ln -s lum bef \
17  && ln -s wum ouk \
18  && ln -s ../ise ket \
19  && echo > tra \
20  && mkdir lum
21 ) || exit 1
22
23 ./test-canonicalize-lgpl${EXEEXT}
24 result=$?
25
26 rm -fr $tmpfiles
27
28 exit $result