-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I am new to pdwfs. It looks really nice but the result of the simple example I tried to build is different with and without pdwfs.
How to reproduce
redis-server --daemonize yes
echo "########### Launching simu ##############"
pdwfs -p $PWD/staged -- ./simu
redis-cli dump "/local/home/mhaefele/ownCloud/work/dev/hello_worlds/pdwfs/C/staged/Cpok:0"
echo "########### Launching post-process ##############"
pdwfs -p $PWD/staged -- ./post-process
echo "########### Done ##############"
redis-cli shutdown
- ./simu is a C program writing 10 times Hello444 in staged/Cpok
- ./post-process reads staged/Cpok and writes only its first line in ./resC
Expected behaviour
So I expect to have a single "Hello444" in resC which is the case without using pdwfs. When using it I get the following:
mhaefele@mdlspc113:C $ ./launch.sh
15287:C 13 Nov 14:08:15.990 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
15287:C 13 Nov 14:08:15.990 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=15287, just started
15287:C 13 Nov 14:08:15.990 # Configuration loaded
########### Launching simu ##############
"\x00\xc3\x11@Z\tHello444\nH\xe0E\b\x014\n\b\x00\xc4\xa2\r\xfe\x05f\xedy"
########### Launching post-process ##############
post-process: �
########### Done ##############
mhaefele@mdlspc113:C $ cat resC
�
Am I doing something wrong ? Anything related with character encoding ?
Thanks for your help
Mat
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working