Skip to content

Commit 66259f7

Browse files
committed
am i sedding wrong
1 parent 6219eda commit 66259f7

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

analysis/test.sh

+1-34
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
printenv
2-
31
for file in tests/src/*.{res,resi}; do
42
output="$(dirname $file)/expected/$(basename $file).txt"
53
./rescript-editor-analysis.exe test $file &> $output
@@ -10,40 +8,9 @@ for file in tests/src/*.{res,resi}; do
108
echo "sedding..."
119
sed -i "s/\r\n/\n/g" $output
1210
fi
11+
cat -A $output
1312
done
1413

15-
./testmore.exe > helloworld.txt
16-
./testfile.exe > helloworld2.txt
17-
./testfile2.exe > helloworld3.txt
18-
19-
echo "cat basetest.txt"
20-
cat -A basetest.txt
21-
echo "------"
22-
echo "cat basetest.txt > pipetest.txt then cat"
23-
cat basetest.txt > pipetest.txt
24-
cat -A pipetest.txt
25-
echo "------"
26-
echo "cat helloworld.txt"
27-
cat -A helloworld.txt
28-
echo "------"
29-
echo "cat helloworld2.txt"
30-
cat -A helloworld2.txt
31-
echo "------"
32-
echo "cat helloworld3.txt"
33-
cat -A helloworld3.txt
34-
echo "------"
35-
36-
# echo "dox2unix helloworld.txt"
37-
# dos2unix helloworld.txt
38-
# echo "------"
39-
# echo "dox2unix helloworld2.txt"
40-
# dos2unix helloworld2.txt
41-
# echo "------"
42-
# echo "dox2unix helloworld3.txt"
43-
# dos2unix helloworld3.txt
44-
# echo "------"
45-
# echo "========all done!========="
46-
4714
warningYellow='\033[0;33m'
4815
successGreen='\033[0;32m'
4916
reset='\033[0m'

0 commit comments

Comments
 (0)