2021-05-09 14:50:17 +02:00
|
|
|
#shellcheck shell=sh
|
|
|
|
|
2021-05-09 19:27:07 +02:00
|
|
|
Describe 'AstrXbian'
|
|
|
|
Describe 'install()'
|
|
|
|
Include ./include.sh
|
|
|
|
It 'should be me'
|
|
|
|
When call i_am
|
|
|
|
The output should eq 'v0.4'
|
|
|
|
End
|
|
|
|
It 'should not be superuser'
|
|
|
|
When call i_am_root
|
|
|
|
The status should not be success
|
|
|
|
End
|
|
|
|
It 'should install AstrXbian'
|
|
|
|
When call i_should_install
|
|
|
|
The status should be success
|
2021-05-09 14:50:17 +02:00
|
|
|
End
|
|
|
|
End
|
|
|
|
End
|