aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/lzo/lzo/run-ptest
blob: 6acb89fc1fe592ac9bab04ed7acf3a4a72f17a18 (plain)
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
29
30
31
32
33
#!/bin/sh

./lzotest -mavail -n10 -q /etc/services
if [ $? -eq 0 ]; then
  echo 'PASS: lzotest'
else
  echo 'FAIL: lzotest'
fi
LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc"
./align
if [ $? -eq 0 ]; then
  echo 'PASS: align'
else
  echo 'FAIL: align'
fi
./chksum
if [ $? -eq 0 ]; then
  echo 'PASS: chksum'
else
  echo 'FAIL: chksum'
fi
./simple
if [ $? -eq 0 ]; then
  echo 'PASS: simple'
else
  echo 'FAIL: simple'
fi
./testmini
if [ $? -eq 0 ]; then
  echo 'PASS: testmini'
else
  echo 'FAIL: testmini'
fi