Comments (5)
Feel free to send a PR extending api_test.go to cover Reboot() function in api.go.
from time.
@leoleovich In my code I want to call init()
from reboot.go
into the test file but the error is - undeclared name: init
even though they are in the same folder structure. Could you please help me with that?
from time.
Please use a default go testing. All you need is to follow a similar style of testing and it shouldn't take you more than 10 lines.
from time.
Ok got it Thanx!
from time.
The PR is in progress. Closing the issue as it only adds extra unit tests, function has several tests already
from time.
Related Issues (18)
- Test failures on s390x
- feature: Add String() to chrony ModeType
- Chrony missing IPADDR_UNSPEC HOT 1
- Compiling for AIX results in "undefined: socketControlMessageTimestamp" HOT 2
- Custom domain setting is not supported in ptp4u
- Calnex firmware update doesn't work with final release tarballs HOT 2
- Fedora 37 dependency issue HOT 3
- Why there isn't support for udp4? HOT 1
- time/ntp/chrony: The 'falseticker' source state is called 'falseticket' HOT 3
- FB.me HOT 1
- Panic in `prepareExpression`
- bad file descriptor HOT 1
- feature: add hardware RX timestamp support HOT 3
- PTP experiences HOT 1
- test failures on 32bit architectures HOT 1
- Add unittests to chrony packet parsing
- Adjust logging in library packges HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time.