File: test-thread.sh

package info (click to toggle)
libcap-ng 0.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 632 kB
  • sloc: ansic: 4,516; makefile: 171; python: 161; sh: 24
file content (12 lines) | stat: -rwxr-xr-x 185 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e

TEST_PATH="src/test"
touch ${TEST_PATH}/config.h

gcc -Wall ${TEST_PATH}/thread_test.c -o test_thread -lcap-ng -lpthread
echo "build OK"

./test_thread
echo "run OK"