forked from josch/mmdebstrap
tests/dev-ptmx: we expect the grep calls to fail -- make sure they don't fail because /tmp/log doesn't exist
This commit is contained in:
parent
c95632f963
commit
f1d847e4ae
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ script -qfc "$prefix {{ CMD }} --mode={{ MODE }} --variant=apt \
|
||||||
{{ DIST }} /dev/null {{ MIRROR }}" /dev/null
|
{{ DIST }} /dev/null {{ MIRROR }}" /dev/null
|
||||||
|
|
||||||
fail=0
|
fail=0
|
||||||
|
[ -r /tmp/log ] || fail=1
|
||||||
grep '^E:' /tmp/log && fail=1
|
grep '^E:' /tmp/log && fail=1
|
||||||
grep 'Can not write log' /tmp/log && fail=1
|
grep 'Can not write log' /tmp/log && fail=1
|
||||||
grep 'posix_openpt' /tmp/log && fail=1
|
grep 'posix_openpt' /tmp/log && fail=1
|
||||||
|
|
Loading…
Reference in a new issue