Skip to content

Commit

Permalink
fix: roby.sql is now in code/, update Dataset#roby_sql_index_path
Browse files Browse the repository at this point in the history
  • Loading branch information
doudou committed Sep 14, 2023
1 parent 3d6f4b9 commit 6b2d87d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/syskit/log/datastore/dataset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,9 @@ def roby
#
# @return [Pathname]
def roby_sql_index_path
p = dataset_path + "roby.sql"
return p if p.exist?

cache_path + "roby.sql"
end

Expand Down
1 change: 1 addition & 0 deletions test/datastore/import_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def tty_reporter

assert (imported.dataset_path + "roby.sql").exist?
assert index_path.exist?
assert imported.roby_sql_index_path.exist?

index = Roby::DRoby::Logfile::Index.read(index_path)
assert index.valid_for?(log_path)
Expand Down

0 comments on commit 6b2d87d

Please sign in to comment.