Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit bad836e

Browse files
running cli in .. (#59)
1 parent 79c4664 commit bad836e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datafusion-optd-cli/tests/cli_integration.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ fn init() {
5454
#[test]
5555
fn cli_test_tpch() {
5656
let mut cmd = Command::cargo_bin("datafusion-optd-cli").unwrap();
57-
cmd.args(["--enable-logical", "--file", "../tpch/test.sql"]);
57+
cmd.current_dir(".."); // all paths in `test.sql` assume we're in the base dir of the repo
58+
cmd.args(["--enable-logical", "--file", "tpch/test.sql"]);
5859
let status = cmd.status().unwrap();
5960
assert!(status.success(), "should not have crashed when running tpch");
6061
}

0 commit comments

Comments
 (0)