From 324c99296a57d9972061dc093b2c7c67a730b1cc Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jan 2014 13:15:49 +0200 Subject: [PATCH] tests: Document the unique index needed for the tests table This is needed for "INSERT OR REPLACE INTO tests" to work correctly with run-tests.py -L. Signed-hostap: Jouni Malinen --- tests/hwsim/README | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/README b/tests/hwsim/README index 3b2d7ce19..aa56ea285 100644 --- a/tests/hwsim/README +++ b/tests/hwsim/README @@ -181,6 +181,7 @@ CREATE TABLE results (test,result,run,time,duration,build,commitid); CREATE INDEX results_idx ON results (test); CREATE INDEX results_idx2 ON results (run); CREATE TABLE tests (test,description); +CREATE UNIQUE INDEX tests_idx ON tests (test); CREATE TABLE logs (test,run,type,contents); CREATE INDEX logs_idx ON logs (test); CREATE INDEX logs_idx2 ON logs (run);