diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-28 08:57:21 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-28 08:57:21 -0400 |
commit | d90ab9882554c396a15e17b0b0d5bf98f415b791 (patch) | |
tree | e2b96fbfd8b7d4b32e922b6326ee429bdc71422a /test | |
parent | Merge pull request #486 from reinerh/master (diff) | |
download | firejail-d90ab9882554c396a15e17b0b0d5bf98f415b791.tar.gz firejail-d90ab9882554c396a15e17b0b0d5bf98f415b791.tar.zst firejail-d90ab9882554c396a15e17b0b0d5bf98f415b791.zip |
removed sudo from make dist-compile and make github-compile
Diffstat (limited to 'test')
-rwxr-xr-x | test/compile/compile.sh | 10 | ||||
-rwxr-xr-x | test/dist-compile/compile.sh | 9 |
2 files changed, 6 insertions, 13 deletions
diff --git a/test/compile/compile.sh b/test/compile/compile.sh index c6b1d1928..1207ef518 100755 --- a/test/compile/compile.sh +++ b/test/compile/compile.sh | |||
@@ -42,9 +42,6 @@ while [ $# -gt 0 ]; do # Until you run out of parameters . . . | |||
42 | done | 42 | done |
43 | 43 | ||
44 | cleanup | 44 | cleanup |
45 | # enable sudo | ||
46 | sudo ls -al | ||
47 | |||
48 | 45 | ||
49 | #***************************************************************** | 46 | #***************************************************************** |
50 | # TEST 1 | 47 | # TEST 1 |
@@ -58,13 +55,12 @@ git clone https://github.com/netblue30/firejail.git | |||
58 | cd firejail | 55 | cd firejail |
59 | ./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure | 56 | ./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure |
60 | make -j4 2>&1 | tee ../output-make | 57 | make -j4 2>&1 | tee ../output-make |
61 | sudo make install 2>&1 | tee ../output-install | ||
62 | cd .. | 58 | cd .. |
63 | grep Warning output-configure output-make output-install > ./report-test1 | 59 | grep Warning output-configure output-make > ./report-test1 |
64 | grep Error output-configure output-make output-install >> ./report-test1 | 60 | grep Error output-configure output-make >> ./report-test1 |
65 | cp output-configure oc1 | 61 | cp output-configure oc1 |
66 | cp output-make om1 | 62 | cp output-make om1 |
67 | rm output-configure output-make output-install | 63 | rm output-configure output-make |
68 | 64 | ||
69 | 65 | ||
70 | #***************************************************************** | 66 | #***************************************************************** |
diff --git a/test/dist-compile/compile.sh b/test/dist-compile/compile.sh index e0d29281b..64c99133a 100755 --- a/test/dist-compile/compile.sh +++ b/test/dist-compile/compile.sh | |||
@@ -43,8 +43,6 @@ while [ $# -gt 0 ]; do # Until you run out of parameters . . . | |||
43 | done | 43 | done |
44 | 44 | ||
45 | cleanup | 45 | cleanup |
46 | # enable sudo | ||
47 | sudo ls -al | ||
48 | 46 | ||
49 | 47 | ||
50 | #***************************************************************** | 48 | #***************************************************************** |
@@ -62,13 +60,12 @@ mv $DIST firejail | |||
62 | cd firejail | 60 | cd firejail |
63 | ./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure | 61 | ./configure --prefix=/usr --enable-fatal-warnings 2>&1 | tee ../output-configure |
64 | make -j4 2>&1 | tee ../output-make | 62 | make -j4 2>&1 | tee ../output-make |
65 | sudo make install 2>&1 | tee ../output-install | ||
66 | cd .. | 63 | cd .. |
67 | grep Warning output-configure output-make output-install > ./report-test1 | 64 | grep Warning output-configure output-make > ./report-test1 |
68 | grep Error output-configure output-make output-install >> ./report-test1 | 65 | grep Error output-configure output-make >> ./report-test1 |
69 | cp output-configure oc1 | 66 | cp output-configure oc1 |
70 | cp output-make om1 | 67 | cp output-make om1 |
71 | rm output-configure output-make output-install | 68 | rm output-configure output-make |
72 | 69 | ||
73 | 70 | ||
74 | #***************************************************************** | 71 | #***************************************************************** |