Skip to content

Commit

Permalink
win_timestamp column of time table is windows specific
Browse files Browse the repository at this point in the history
Reviewed By: guliashvili

Differential Revision: D13398138

fbshipit-source-id: 9c37c50d551770ba55e175dca633ba85b94b6753
  • Loading branch information
akindyakov authored and fmanco committed Dec 11, 2018
1 parent bcf0ab8 commit 3bbe6c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/integration/tables/time.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

#include <osquery/tests/integration/tables/helper.h>

#include <osquery/utils/info/platform_type.h>

namespace osquery {
namespace table_tests {

Expand Down Expand Up @@ -44,6 +46,9 @@ TEST_F(Time, test_sanity) {
{"datetime", NonEmptyString},
{"iso_8601", NonEmptyString},
};
if (isPlatform(PlatformType::TYPE_WINDOWS)) {
row_map.emplace("win_timestamp", NonNegativeInt);
}
validate_rows(data, row_map);
}

Expand Down

0 comments on commit 3bbe6c5

Please sign in to comment.