Skip to content
This repository was archived by the owner on Jul 27, 2022. It is now read-only.
This repository was archived by the owner on Jul 27, 2022. It is now read-only.

Test errors in reutils #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. make; make check

What is the expected output? What do you see instead?
The script reports:
PASS: reutils: make flags.
PASS: reutils: resubst compile.
PASS: reutils: basic substitution.
PASS: reutils: global substitution.
PASS: reutils: variable substitution.
PASS: reutils: multiple variable substitution.
FAIL: reutils: malformed variable substitution 3: expected "he${1o", got 
"hellhe${1oo".
FAIL: test/reutils_test

So, it looks like the re is hanging onto previous results. Also, the 
failing test is mis-numbered as '1' when it is really '3', but that isn't 
particularily at issue.

Workaround:
The specific test case that fails is a test-bad-data test, and can be 
safely commented out as it indicates that the re engine is broken in the 
case when the re is broken.

Config Details:
[jrenwick@machine (CRUSH) 3975]$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.3 (Tikanga)
[jrenwick@machine (CRUSH) 3975]$ uname -a
Linux machine 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008 x86_64 
x86_64 x86_64 GNU/Linux




Original issue reported on code.google.com by jimrenw...@gmail.com on 27 Jun 2009 at 1:40

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions