We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee637c7 commit f720a01Copy full SHA for f720a01
tests/echo1.sh
@@ -15,7 +15,10 @@ sleep 0.1
15
curl -N "http://localhost:${PORT}/vfs/a.txt" --max-time 5
16
17
sleep 0.1
18
-curl -N "http://localhost:${PORT}/vfs/a.txt" -H 'accept-encoding: deflate' --max-time 5 | base64
+# NOTE: the sed is there because of a timing/deflate non determinism. Both strings
19
+# decompress to the same "hello\nworld\n" but which one is picked depends on
20
+# the machine/library/… ?? but both are valid.
21
+curl -N "http://localhost:${PORT}/vfs/a.txt" -H 'accept-encoding: deflate' --max-time 5 | base64 | sed 's+ykjNycnnKs8vyknhAgAAAP//AwA=+ykjNycnnKs8vyknhAgAAAP//+'
22
23
24
curl -N "http://localhost:${PORT}/vfs/sub/yolo.html" --max-time 5
0 commit comments