19 lines
288 B
Bash
Executable File
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 .. |