summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tests/kpsestat.test
blob: 8e1cf8526a44619cb3ef789f30f4e90c6bf74de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

# Copyright (C) 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`"