mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-15 07:05:41 +00:00
16 lines
307 B
Bash
Executable File
16 lines
307 B
Bash
Executable File
#! /bin/bash
|
|
|
|
nohup ./target/release/wasmer run examples/lua.wasm &
|
|
sleep 3s
|
|
|
|
if grep "Lua 5.4.0 Copyright (C) 1994-2018 Lua.org, PUC-Rio" ./nohup.out
|
|
then
|
|
echo "lua integration test succeeded"
|
|
rm ./nohup.out
|
|
exit 0
|
|
else
|
|
echo "lua integration test failed"
|
|
rm ./nohup.out
|
|
exit -1
|
|
fi
|