File: bindir-install

package info (click to toggle)
zkg 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,740 kB
  • sloc: python: 5,910; sh: 268; makefile: 265; cpp: 24
file content (28 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# "zkg test" internally requires zeek-config
# @TEST-REQUIRES: type zeek-config

# @TEST-EXEC: bash %INPUT
#
# @TEST-EXEC: zkg test foo
#
# @TEST-EXEC: zkg install foo
# @TEST-EXEC: test -d bin
# @TEST-EXEC: test -L bin/exec1 && test -L bin/exec2
# @TEST-EXEC: ./bin/exec1 >>output
# @TEST-EXEC: ./bin/exec2 >>output
# @TEST-EXEC: btest-diff output
#
# @TEST-EXEC: zkg remove foo
# @TEST-EXEC: test '!' -e bin/exec1 && test '!' -e bin/exec2

cd packages/foo
echo "test_command = true" >>zkg.meta
echo "executables =  x/exec1   x/exec2  " >>zkg.meta

mkdir x
echo "echo from exec1" >x/exec1
echo "echo from exec2" >x/exec2
chmod +x x/exec1 x/exec2

git add *
git commit -m 'new stuff'