1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-09 07:02:29 +08:00

test: remove unstable test item

This commit is contained in:
dudaodong
2023-04-26 18:14:27 +08:00
parent 42ec189995
commit 99cb1b13a3
4 changed files with 23 additions and 21 deletions

View File

@@ -68,15 +68,15 @@ func TestExecCommand(t *testing.T) {
assert.IsNotNil(err)
}
func TestExecCommandWithOption(t *testing.T) {
assert := internal.NewAssert(t, "TestExecCommand")
// func TestExecCommandWithOption(t *testing.T) {
// assert := internal.NewAssert(t, "TestExecCommandWithOption")
stdout, stderr, err := ExecCommand("ls", WithForeground())
t.Log("std out: ", stdout)
t.Log("std err: ", stderr)
assert.Equal("", stderr)
assert.IsNil(err)
}
// stdout, stderr, err := ExecCommand("ls", WithForeground())
// t.Log("std out: ", stdout)
// t.Log("std err: ", stderr)
// assert.Equal("", stderr)
// assert.IsNil(err)
// }
func TestGetOsBits(t *testing.T) {
osBits := GetOsBits()