CringeDB/tests/System Abstraction/3/run.sh

17 lines
239 B
Bash
Raw Normal View History

2022-08-29 17:27:24 +02:00
#!/bin/sh
./compile.sh
cd run
# Test 1
echo "-- Test 1"
echo "Expected output: file is null"
touch testfile.txt
./openTempFiletest
rm testfile.txt
echo "-- Test 2"
echo "Expected output: Y, Second file is null"
./openTempFiletest
cd ..