aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-01-26 10:46:56 -0800
committerBen Pfaff <blp@nicira.com>2010-01-26 10:46:56 -0800
commit29381db022b1fd73c3d6e69150dd0cca64a59dfa (patch)
tree1dc4b8d363a08099daf530f87bd8080467dfc36d /tests
parent31a763d7d7892bad5c4f839d920bbdbff3167caf (diff)
tests: Fix ovsdb tests.
This code was updated to use the new name of the schema, but I accidentally left in the old code to check for the old schema's name. This worked fine in my own tests, because I still have a copy of that file sitting around, but fails on "make distcheck" or a clean source dir. So this commit deletes the code that checks for the old schema file.
Diffstat (limited to 'tests')
-rw-r--r--tests/ovsdb-macros.at10
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/ovsdb-macros.at b/tests/ovsdb-macros.at
index c0033b33..298236d6 100644
--- a/tests/ovsdb-macros.at
+++ b/tests/ovsdb-macros.at
@@ -3,15 +3,7 @@ dnl
dnl Creates an empty database named $1.
m4_define([OVSDB_INIT],
[OVS_CHECK_LCOV(
- [SCHEMA=$abs_top_builddir/vswitchd/vswitch-idl.ovsschema
- if test ! -e $SCHEMA; then
- SCHEMA=$abs_top_srcdir/vswitchd/vswitch-idl.ovsschema
- if test ! -e $SCHEMA; then
- echo 'Failed to find vswitch-idl.ovsschema'
- exit 1
- fi
- fi
- ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
+ [ovsdb-tool create $1 $abs_top_srcdir/vswitchd/vswitch.ovsschema],
[0], [stdout], [ignore])
OVS_CHECK_LCOV(
[[ovsdb-tool transact $1 \