File: php-for-tests.sh.in

package info (click to toggle)
libguestfs 1%3A1.40.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 123,660 kB
  • sloc: ansic: 460,074; ml: 63,059; sh: 14,955; java: 9,512; makefile: 9,133; cs: 6,300; haskell: 5,652; python: 3,856; perl: 3,619; erlang: 2,435; xml: 1,683; ruby: 350; pascal: 255; lex: 135; yacc: 128; cpp: 10
file content (16 lines) | stat: -rwxr-xr-x 491 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. ./env

# Setting debug or trace isn't very useful because the PHP test script
# mixes stdout and stderr together and compares this to the expected
# output, so you'd just get failures for every test.  So there is no
# good way to debug libguestfs failures in PHP tests, but if an
# individual test fails locally then you can edit the
# guestfs_php_*.phpt.in and uncomment the putenv statement, then look
# at the output.

unset LIBGUESTFS_DEBUG
unset LIBGUESTFS_TRACE

@PHP@ $@