CringeDB/tests/System Abstraction/1/run.sh
2022-08-29 17:29:21 +02:00

19 lines
288 B
Bash
Executable File

#!/bin/sh
./compile.sh
cd run
# Test 1
echo "-- Test 1"
echo "Expected output: file is null"
rm testfile.txt
./systemAbstractionTest1
# Test 2
echo "-- Test 2"
echo "Expected output: abc"
echo "Expected file contents: Obcde"
echo -n "abc" > testfile.txt
./systemAbstractionTest1
cd ..