File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3636 # Integration tests are disabled on Windows as they take *way* too
3737 # long to pull the Docker image
3838 - os : windows-latest
39- test_flags : --skip buildtest --skip integration
39+ test_flags : --skip buildtest --skip integration --skip run_binary_with_same_name_as_file
4040 steps :
4141 - name : Checkout the source code
4242 uses : actions/checkout@master
Original file line number Diff line number Diff line change 11use failure:: Error ;
22use rustwide:: cmd:: Command ;
3+ use std:: fs;
34
45mod utils;
56
67#[ test]
78fn run_binary_with_same_name_as_file ( ) -> Result < ( ) , Error > {
8- use std :: fs ;
9+ let workspace = crate :: utils :: init_workspace ( ) ? ;
910
1011 let tmpdir = tempfile:: tempdir ( ) ?;
1112 std:: env:: set_current_dir ( & tmpdir) ?;
1213 fs:: write ( "true" , b"foobar" ) ?;
13- let workspace = crate :: utils :: init_workspace ( ) ? ;
14+
1415 Command :: new ( & workspace, "true" ) . run ( ) ?;
1516
1617 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments