Skip to content

Commit

Permalink
ci: fix outdated_test.v (--unshallow is not needed now)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 17, 2024
1 parent 27cc277 commit 3f725fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/tools/vpm/outdated_test.v
Expand Up @@ -15,6 +15,7 @@ fn testsuite_begin() {
test_utils.set_test_env(test_path)
os.mkdir_all(test_path)!
os.chdir(test_path)!
println('test_path: ${test_path}')
}

fn testsuite_end() {
Expand Down Expand Up @@ -49,7 +50,7 @@ fn test_outdated() {
}
// "Outdate" previously installed. Leave out `libsodium`.
for m in ['pcre', 'vtray', os.join_path('nedpals', 'args')] {
cmd_ok(@LOCATION, 'git -C ${m} fetch --unshallow')
cmd_ok(@LOCATION, 'git -C ${m} fetch --all')
cmd_ok(@LOCATION, 'git -C ${m} reset --hard HEAD~')
assert is_outdated(m)
}
Expand Down

0 comments on commit 3f725fe

Please sign in to comment.