- Notifications
You must be signed in to change notification settings - Fork928
chore(coderd): improve tests for tar<->zip conversion#12477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Just minor nits, nice thorough tests!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
func TestCreateTarFromZip(t *testing.T) { | ||
t.Parallel() | ||
if runtime.GOOS != "linux" { | ||
t.Skip("skipping this test on non-Linux platform") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Windows is no bueno?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Generally yes, but I'm not going to assume the presence oftar
andunzip
on Windows for this test :-)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…to tar (#12476)* fix(coderd): set mode and modtime correctly when converting from zip->tar
* improve tests for tar<->zip conversion* set mode and modtime correctly when converting from zip to tar (#12476)
Uh oh!
There was an error while loading.Please reload this page.
STACK:
#12477 <-- you are here
#12476
#12475
#12479
coderd/testdata
NOTE: these tests will fail until#12476 is merged in