File: run

package info (click to toggle)
cssc 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 11,368 kB
  • sloc: cpp: 39,446; ansic: 17,403; sh: 11,328; python: 3,923; makefile: 1,929; perl: 342; awk: 15; sed: 15
file content (13 lines) | stat: -rwxr-xr-x 207 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

testdir=$(dirname "$1")
case "$testdir" in
    bsd-sccs)
        export dir=/usr/bin ;;
    *)
        export dir=$(echo /usr/lib/*/cssc) ;;
esac

cd tests/"$testdir"
bash $(basename "$1")