summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tests/kpsestat.test
blob: fa25f5a596835e683c20a2b1f3214d803fa8ad91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh -vx
# $Id$
# Copyright 2017 Karl Berry <tex-live@tug.org>
# Copyright 2010 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.

./kpsestat = nonesuch 2>/dev/null && exit 1

for f in . kpsestat kpsestat.o; do
  echo "kpsestat = $f => `./kpsestat = $f`"
done

for m in -rw g-r u-w o+x -rw,u+s -rw,g+s -rw,o+t; do
  echo "kpsestat $m kpsestat.o => `./kpsestat $m kpsestat.o`"
done

echo "kpsestat = \$srcdir => `./kpsestat = $srcdir`"
echo "kpsestat = \$srcdir/ => `./kpsestat = $srcdir/`"
echo "kpsestat = \$srcdir/kpsestat.c => `./kpsestat = $srcdir/kpsestat.c`"