• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-tests/
1#!/bin/sh
2
3tmpfiles=""
4trap 'rm -fr $tmpfiles' 1 2 3 15
5
6tmpfiles="$tmpfiles t-can-lgpl.tmp ise"
7mkdir t-can-lgpl.tmp
8ln -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}
24result=$?
25
26rm -fr $tmpfiles
27
28exit $result
29