[Pkg-shadow-commits] r1909 - debian/trunk/tests/su/03
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Wed Mar 19 18:16:57 UTC 2008
Author: nekral-guest
Date: 2008-03-19 18:16:56 +0000 (Wed, 19 Mar 2008)
New Revision: 1909
Modified:
debian/trunk/tests/su/03/su_run_command01.test
debian/trunk/tests/su/03/su_run_command15.test
Log:
Added debug to find out what happens when it fails.
Modified: debian/trunk/tests/su/03/su_run_command01.test
===================================================================
--- debian/trunk/tests/su/03/su_run_command01.test 2008-03-19 18:14:32 UTC (rev 1908)
+++ debian/trunk/tests/su/03/su_run_command01.test 2008-03-19 18:16:56 UTC (rev 1909)
@@ -20,6 +20,13 @@
echo "/bin/su myuser -c 'ls config'> tmp/out 2> tmp/err"
/bin/su myuser -c 'ls config'> tmp/out 2> tmp/err
+echo "su reported:"
+echo "=== stdout ==="
+cat tmp/out
+echo "=== stderr ==="
+cat tmp/err
+echo "=============="
+
echo -n "Checking tmp/out..."
diff -au data/ls.out tmp/out
rm -f tmp/out
Modified: debian/trunk/tests/su/03/su_run_command15.test
===================================================================
--- debian/trunk/tests/su/03/su_run_command15.test 2008-03-19 18:14:32 UTC (rev 1908)
+++ debian/trunk/tests/su/03/su_run_command15.test 2008-03-19 18:16:56 UTC (rev 1909)
@@ -20,6 +20,13 @@
echo "/bin/su -c pwd -p - myuser> tmp/out 2> tmp/err"
/bin/su -c pwd -p - myuser> tmp/out 2> tmp/err
+echo "su reported:"
+echo "=== stdout ==="
+cat tmp/out
+echo "=== stderr ==="
+cat tmp/err
+echo "=============="
+
echo -n "Checking tmp/out..."
case "$(cat tmp/out)" in
*/su/03)
More information about the Pkg-shadow-commits
mailing list