mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-27 15:01:22 +08:00
Fix tests on Windows.
This commit is contained in:
parent
d133897c83
commit
0dc8050897
|
@ -11,9 +11,8 @@
|
|||
▶ $true
|
||||
|
||||
## bad path ##
|
||||
~> elvish -cpuprofile bad/cpu
|
||||
[stderr] Warning: cannot create CPU profile: open bad/cpu: no such file or directory
|
||||
[stderr] Continuing without CPU profiling.
|
||||
~> elvish -cpuprofile bad/cpu &check-stderr-contains='Warning: cannot create CPU profile:'
|
||||
[stderr contains "Warning: cannot create CPU profile:"] true
|
||||
|
||||
|
||||
//////////////////
|
||||
|
@ -26,7 +25,6 @@
|
|||
▶ $true
|
||||
|
||||
## bad path ##
|
||||
~> elvish -allocsprofile bad/allocs
|
||||
[stderr] Warning: cannot create memory allocation profile: open bad/allocs: no such file or directory
|
||||
[stderr] Continuing without memory allocation profiling.
|
||||
~> elvish -allocsprofile bad/allocs &check-stderr-contains='Warning: cannot create memory allocation profile:'
|
||||
[stderr contains "Warning: cannot create memory allocation profile:"] true
|
||||
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
~> use os
|
||||
os:exists log
|
||||
▶ $true
|
||||
~> (p [&]) -log bad/log
|
||||
[stderr] open bad/log: no such file or directory
|
||||
~> (p [&]) -log bad/log &check-stderr-contains='open bad/log:'
|
||||
[stderr contains "open bad/log:"] true
|
||||
|
||||
## -deprecation-level ##
|
||||
//deprecation-level 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user