sshnet / integrationtests Goto Github PK
View Code? Open in Web Editor NEWIntegration tests for SSH.NET
License: MIT License
Integration tests for SSH.NET
License: MIT License
KeyboardInteractive_PasswordExpired
fails on my container with:
Assert.AreEqual failed. Expected:<0>. Actual:<1>. passwd: unrecognized option: expire
BusyBox v1.34.1 (2021-11-23 00:57:35 UTC) multi-call binary.
Usage: passwd [-a ALG] [-dlu] [USER]
Change USER's password (default: current user)
-a ALG des,md5,sha256/512 (default sha512)
-d Set password to ''
-l Lock (disable) account
-u Unlock (enable) account
Additionally, this leaves the sshuser with a random password. To avoid this, we should:
I can try to fix this if you want?
MemoryStream.ctor(byte[])
would reuse the buffer.
The Expect()
is called without a timeout, causing the test to hang if Expect is not satisfied.
If your system has UAC enabled and you run VS normal/unelevated, the DisableHostNetworkConnection
calls fail with:
System.ApplicationException: Failed to disable 'Ethernet 2' network connection. Return value is 5.
Make sure you're running the tests with elevated priviliges.
Could we mark tests as inconclusive instead of failing them in this case?
DisableHostNetworkConnection
could use new Win32Exception(retValue)
, this would provide better error information.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.