mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 20:11:16 +00:00
Commit 39c77fe
triggered random failures, depending on the platform
and what other fds leak into the testsuite (for me, it passed on
RHEL 6 but failed on Fedora 18). The reason was that we were
expecting an fd that fell outside of our reserved range. By reserving
a larger range, the test once again passes on all platforms.
* tests/commandtest.c (mymain): Reserve enough fds.
15 lines
175 B
Plaintext
15 lines
175 B
Plaintext
ENV:DISPLAY=:0.0
|
|
ENV:HOME=/home/test
|
|
ENV:HOSTNAME=test
|
|
ENV:LANG=C
|
|
ENV:LOGNAME=testTMPDIR=/tmp
|
|
ENV:PATH=/usr/bin:/bin
|
|
ENV:USER=test
|
|
FD:0
|
|
FD:1
|
|
FD:2
|
|
FD:5
|
|
FD:7
|
|
DAEMON:no
|
|
CWD:/tmp
|