mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
15 lines
306 B
Bash
Executable File
15 lines
306 B
Bash
Executable File
#! /bin/bash
|
|
|
|
nohup ./target/release/wasmer run examples/nginx/nginx.wasm --disable-cache -- -v
|
|
|
|
if grep "nginx version: nginx/1.15.3" ./nohup.out
|
|
then
|
|
echo "nginx integration test succeeded"
|
|
rm ./nohup.out
|
|
exit 0
|
|
else
|
|
echo "nginx integration test failed"
|
|
rm ./nohup.out
|
|
exit -1
|
|
fi
|