]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Document the unique index needed for the tests table
authorJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 11:15:49 +0000 (13:15 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:11 +0000 (10:45 +0200)
This is needed for "INSERT OR REPLACE INTO tests" to work correctly with
run-tests.py -L.

Signed-hostap: Jouni Malinen <j@w1.fi>

tests/hwsim/README

index 3b2d7ce19467c954b1351e438b9cdce6d0c5118f..aa56ea2855d9b9ee51026217176b11657a91abb9 100644 (file)
@@ -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);