From: Jouni Malinen Date: Sun, 5 Jan 2014 11:15:49 +0000 (+0200) Subject: tests: Document the unique index needed for the tests table X-Git-Tag: hostap_2_1~191 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=324c99296a57d9972061dc093b2c7c67a730b1cc;p=thirdparty%2Fhostap.git 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 --- 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);