提交 cda6d0a8 编写于 作者: M Michael Meskes

Second try committing the path changes.

上级 67135eb1
......@@ -17,7 +17,7 @@
#include <sqltypes.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -13,7 +13,7 @@
#include <stdlib.h>
#
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -13,7 +13,7 @@
#include <stdlib.h>
#
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -14,7 +14,7 @@
#include "sqltypes.h"
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -85,7 +85,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 5 "test_informix2.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -13,7 +13,7 @@
#include <stdio.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -11,7 +11,7 @@
#include <string.h>
#line 1 "./header_test.h"
#line 1 "header_test.h"
#include "stdlib.h"
static void
......@@ -22,19 +22,19 @@ Finish(char *msg)
/* finish transaction */
{ ECPGtrans(__LINE__, NULL, "rollback");}
#line 10 "./header_test.h"
#line 10 "header_test.h"
/* and remove test table */
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);}
#line 13 "./header_test.h"
#line 13 "header_test.h"
{ ECPGtrans(__LINE__, NULL, "commit");}
#line 14 "./header_test.h"
#line 14 "header_test.h"
{ ECPGdisconnect(__LINE__, "CURRENT");}
#line 16 "./header_test.h"
#line 16 "header_test.h"
exit(-1);
......@@ -47,16 +47,16 @@ warn(void)
}
/* exec sql whenever sqlerror do Finish ( msg ) ; */
#line 29 "./header_test.h"
#line 29 "header_test.h"
/* exec sql whenever sql_warning do warn ( ) ; */
#line 32 "./header_test.h"
#line 32 "header_test.h"
#line 4 "test2.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -11,7 +11,7 @@
/* Test comment */
/*--------------------------------------------------------------------------*/
#line 1 "./header_test.h"
#line 1 "header_test.h"
#include "stdlib.h"
static void
......@@ -22,19 +22,19 @@ Finish(char *msg)
/* finish transaction */
{ ECPGtrans(__LINE__, NULL, "rollback");}
#line 10 "./header_test.h"
#line 10 "header_test.h"
/* and remove test table */
{ ECPGdo(__LINE__, 0, 1, NULL, "drop table meskes ", ECPGt_EOIT, ECPGt_EORT);}
#line 13 "./header_test.h"
#line 13 "header_test.h"
{ ECPGtrans(__LINE__, NULL, "commit");}
#line 14 "./header_test.h"
#line 14 "header_test.h"
{ ECPGdisconnect(__LINE__, "CURRENT");}
#line 16 "./header_test.h"
#line 16 "header_test.h"
exit(-1);
......@@ -47,16 +47,16 @@ warn(void)
}
/* exec sql whenever sqlerror do Finish ( msg ) ; */
#line 29 "./header_test.h"
#line 29 "header_test.h"
/* exec sql whenever sql_warning do warn ( ) ; */
#line 32 "./header_test.h"
#line 32 "header_test.h"
#line 4 "test3.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -16,7 +16,7 @@
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -87,7 +87,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 7 "test4.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -11,7 +11,7 @@
#include <stdlib.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -18,7 +18,7 @@
#include <stdio.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -17,7 +17,7 @@
#include <stdio.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -13,7 +13,7 @@
#include <stdio.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -8,7 +8,7 @@
#line 1 "init.pgc"
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......
......@@ -15,7 +15,7 @@
#include <pgtypes_interval.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -14,7 +14,7 @@
#include <pgtypes_timestamp.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -13,7 +13,7 @@
#include <decimal.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -14,7 +14,7 @@
#include <decimal.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -8,7 +8,7 @@
#line 1 "code100.pgc"
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdio.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -10,7 +10,7 @@
#include <stdio.h>
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 3 "copystdout.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -8,7 +8,7 @@
#line 1 "define.pgc"
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -79,7 +79,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 1 "define.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -8,7 +8,7 @@
#line 1 "desc.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -9,7 +9,7 @@
#line 1 "dynalloc.pgc"
#include <stdio.h>
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdlib.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -9,7 +9,7 @@
#line 1 "dynalloc2.pgc"
#include <stdio.h>
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#include <stdlib.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -14,7 +14,7 @@
#include <stdlib.h>
#line 1 "./../../include/sql3types.h"
#line 1 "sql3types.h"
#ifndef _ECPG_SQL3TYPES_H
#define _ECPG_SQL3TYPES_H
......@@ -62,7 +62,7 @@ enum
#line 7 "dyntest.pgc"
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -133,7 +133,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 8 "dyntest.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -12,7 +12,7 @@
#include <string.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -10,7 +10,7 @@
#include <stdio.h>
#line 1 "./../../include/sqlca.h"
#line 1 "sqlca.h"
#ifndef POSTGRES_SQLCA_H
#define POSTGRES_SQLCA_H
......@@ -81,7 +81,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#line 3 "indicators.pgc"
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -12,7 +12,7 @@
#include <string.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -12,7 +12,7 @@
#include <string.h>
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -26,7 +26,7 @@ main(void)
#line 1 "./../regression.h"
#line 1 "regression.h"
......
......@@ -27,7 +27,7 @@ main(void)
#line 1 "./../regression.h"
#line 1 "regression.h"
......
#! /bin/sh
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.8 2006/08/29 12:24:51 meskes Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/test/pg_regress.sh,v 1.9 2006/08/29 13:23:26 meskes Exp $
me=`basename $0`
......@@ -751,6 +751,10 @@ for i in \
done
fi
mv "$outfile_source" "$outfile_source.tmp"
cat "$outfile_source.tmp" | sed -e 's,^\(#line [0-9]*\) ".*/\([^/]*\)",\1 "\2",' > "$outfile_source"
rm "$outfile_source.tmp"
DIFFER=""
diff $DIFFFLAGS expected/$outprg.stderr "$outfile_stderr" > /dev/null 2>&1
if [ $? != 0 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册