Title: Integration test (cannot_read_files) fails when there is a file named "foo.txt" in working directory · Issue #61 · uutils/diffutils · GitHub
Open Graph Title: Integration test (cannot_read_files) fails when there is a file named "foo.txt" in working directory · Issue #61 · uutils/diffutils
X Title: Integration test (cannot_read_files) fails when there is a file named "foo.txt" in working directory · Issue #61 · uutils/diffutils
Description: touch foo.txt cargo test --release cannot_read_files results in: test cannot_read_files ... FAILED failures: ---- cannot_read_files stdout ---- thread 'cannot_read_files' panicked at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/librar...
Open Graph Description: touch foo.txt cargo test --release cannot_read_files results in: test cannot_read_files ... FAILED failures: ---- cannot_read_files stdout ---- thread 'cannot_read_files' panicked at /rustc/82e1608...
X Description: touch foo.txt cargo test --release cannot_read_files results in: test cannot_read_files ... FAILED failures: ---- cannot_read_files stdout ---- thread 'cannot_read_files' panicked at /rustc...
Opengraph URL: https://github.com/uutils/diffutils/issues/61
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Integration test (cannot_read_files) fails when there is a file named \"foo.txt\" in working directory","articleBody":"```bash\r\ntouch foo.txt\r\ncargo test --release cannot_read_files\r\n```\r\n\r\nresults in:\r\n```\r\ntest cannot_read_files ... FAILED\r\n\r\nfailures:\r\n\r\n---- cannot_read_files stdout ----\r\nthread 'cannot_read_files' panicked at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5:\r\nUnexpected return code, failed var == 2\r\n└── var: 0\r\n\r\ncommand=`\"/home/osomon/build/uutils/diffutils/target/release/diffutils\" \"foo.txt\" \"/tmp/.tmpwvzk9c\"`\r\ncode=0\r\nstdout=\"\"\r\n```\r\n\r\nThis is because the test expects a file named \"foo.txt\" to **not** exist in the current working directory. If the file exists, the test fails.","author":{"url":"https://github.com/oSoMoN","@type":"Person","name":"oSoMoN"},"datePublished":"2024-04-23T16:00:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/61/diffutils/issues/61"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:802c70f1-0295-daac-864f-1aa6e9dedea3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B434:13E197:C5C554:10BDBC2:6A4DC76A |
| html-safe-nonce | e2c821423382daf56e79d15f2df31e03f744b1d3201a191112618bc58b8dc0e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDM0OjEzRTE5NzpDNUM1NTQ6MTBCREJDMjo2QTREQzc2QSIsInZpc2l0b3JfaWQiOiI0MDUxNjg4NTEzMjA4MTc0NDQyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5eb2b373a747391a3cc534748ac82746b13c06a14c5c5fc9447604d2908b6287 |
| hovercard-subject-tag | issue:2259242066 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/uutils/diffutils/61/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac607eb0c5ccd06bb65e6e6ec8c55bf3e61fac51bdfeea999df90a2b7d67277d/uutils/diffutils/issues/61 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac607eb0c5ccd06bb65e6e6ec8c55bf3e61fac51bdfeea999df90a2b7d67277d/uutils/diffutils/issues/61 |
| og:image:alt | touch foo.txt cargo test --release cannot_read_files results in: test cannot_read_files ... FAILED failures: ---- cannot_read_files stdout ---- thread 'cannot_read_files' panicked at /rustc/82e1608... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | oSoMoN |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width