Last active
December 28, 2015 08:09
-
-
Save drinkcat/7469311 to your computer and use it in GitHub Desktop.
clipboard testing procedure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git 3662f3d96e438e80a474ebd0d04bca2c63aa6cd5 | |
- Samsung ARM Chromebook, stable 4537.147.0 | |
- precise: 12345678 | |
- saucy: 12345 | |
- wheezy: 12345 | |
Testing procedure for clipboard sync: | |
0. (once only) | |
- In host-ext, run | |
- sh -e gencrx.sh | |
- cp crouton.crx ~/Downloads | |
- Remove whatever existing crouton extension | |
- Install extension manually from the file manager. | |
1. Installation | |
- Add clipboard target to existing chroot. | |
2. Text is copied on startup | |
- Copy some text in Chrome OS | |
- sudo startxfce4 -n name | |
- Wait 5 seconds | |
- Check that text can be pasted | |
3. Text is copied back and forth | |
- Copy some text in chroot | |
- Paste in Chrome OS | |
- Copy some other text in Chrome OS | |
- Paste in chroot | |
4. Test that croutonxinitrc-wrapper handles signals properly | |
- Make sure that the chroot is not currently mounted | |
- sudo startxfce4 -n name | |
- Close the session => Make sure exit is clean: | |
- "Running exit commands..." is shown | |
- chroot gets unmounted | |
- sudo startxfce4 -n name | |
- Go back to Chrome OS | |
- Ctrl-C => Make sure exit is clean | |
5. URL handler | |
- sudo startxfce4 -n name | |
- croutonurlhandler http://www.google.com | |
- Switch to Chrome OS => Check new tab is opened | |
- Close tab | |
- croutonurlhandler -s http://www.google.com => Check display is switched to | |
Chrome OS, and new tab opened | |
6. Complex data in clipboard is not erased on display switch | |
- Install gimp in the chroot | |
- gimp /usr/share/icons/gnome/32x32/actions/kfind.png (or any other image) | |
- Ctrl-A (select all), Ctrl-C (copy) | |
- Ctrl-Shift-V (paste as new image) => check a new window is created | |
- Switch to Chrome OS | |
- Paste => Only '%' should appear | |
- Switch back to chroot | |
- Ctrl-Shift-V still pastes a new image | |
- Switch to Chrome OS | |
- Copy some fresh text | |
- Switch back to chroot | |
- Text can be pasted | |
7. '%' can still be copied from Chrome OS to chroot | |
- Switch to Chrome OS | |
- Copy '%' | |
- Switch to chroot | |
- Paste => % should appear | |
8. Multi-chroot setup | |
- Make sure precise is unmounted | |
- cd /usr/local/chroots; sudo cp -al precise precise.bis | |
- sudo startxfce4 -n precise | |
- Wait for precise to show up | |
- sudo startxfce4 -n precise.bis | |
- Copy text1 in Chrome OS | |
- Switch to precise | |
- Paste => check text1 | |
- Copy 'precise' | |
- Switch to precise.bis | |
- Paste => check content is 'precise' | |
- Copy 'precise.bis' | |
- Quickly switch across Chrome OS, precise, and back to precise.bis | |
- Paste => check content is still 'precise.bis' | |
- Paste in both Chrome OS and precise => check content is still 'precise.bis' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment