Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: tests/gdb/execute_nacl_manifest_twice.py

Issue 11896007: GDB: Test for executing nacl-manifest command twice. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/gdb/gdb_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/gdb/execute_nacl_manifest_twice.py
===================================================================
--- tests/gdb/execute_nacl_manifest_twice.py (revision 0)
+++ tests/gdb/execute_nacl_manifest_twice.py (revision 0)
@@ -0,0 +1,19 @@
+# -*- python -*-
+# Copyright (c) 2012 The Native Client Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+from gdb_test import AssertEquals
+import gdb_test
+
+
+def test(gdb):
+ # The second superfluous call to LoadManifestFile. This is a regression test
+ # for issue https://code.google.com/p/nativeclient/issues/detail?id=3262 .
+ gdb.LoadManifestFile()
+ gdb.ResumeCommand('continue')
+ gdb.Quit()
+
+
+if __name__ == '__main__':
+ gdb_test.RunTest(test, '')
« no previous file with comments | « no previous file | tests/gdb/gdb_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698