Closed
Description
- Version: v6.9.3
- Platform: Linux raspi-pi3-woody 4.4.38-v7+ build: make test-ci output TAP to stdout and log #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux
- Subsystem: fs.readFileSync
Situation:
I'm trying to capture my RPi3's mac addresses using synchronous file reading, getting information from my host system at `/sys/class/net/*/address`.Action:
I have two branches at this repo: https://github.com/noncreature0714/gen-sys-id-node.gitBranch master is the asynchronous version, and works successfully.
Branch sync-test is synchronous, and is not working as expected - almost as if it never ran synchronously.
Results:
Output of 'master' (asynchronous) branch is:
ifs.eth0: "my correct eth0 mac address here"
ifs.wlan0: "my correct wlan0 mac address here"
Output of 'sync-test' branch is:
ifs.eth0: function String() { [native code]}
ifs.wlan0: function String() { [native code]}