summaryrefslogtreecommitdiffstats
path: root/package/ltp-testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'package/ltp-testsuite')
-rw-r--r--package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch b/package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch
new file mode 100644
index 000000000..a6f98ac13
--- /dev/null
+++ b/package/ltp-testsuite/ltp-testsuite-sh-is-not-C-code.patch
@@ -0,0 +1,11 @@
+--- ltp-full-20061121/IDcheck.sh.orig 2006-12-07 22:31:29.000000000 -0700
++++ ltp-full-20061121/IDcheck.sh 2006-12-07 22:32:58.000000000 -0700
+@@ -85,7 +85,7 @@
+ fi
+
+ whoami | grep root > /dev/null
+-if [ $? == "0" ]; then
++if [ $? = "0" ]; then
+ I_AM_ROOT=1
+ fi
+